Delete a file

Deletes a file owned by the requesting workspace. Deletion is irreversible.

Authentication

AuthorizationBearer
API key as bearer token in Authorization header

Path parameters

file_idstringRequired

Query parameters

workspace_idstringOptionalformat: "uuid"

Workspace to scope the request to. Defaults to the caller’s default workspace.

Response

The file was deleted.
idstring
typeenum

Errors

401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error