Files
Delete a file
Deletes a file owned by the requesting workspace. Deletion is irreversible.
delete/files/{file_id}
Path parameters
file_idstring required
Example:file_011CNha8iCJcU1wXNR6q4V8w
Query parameters
workspace_idstring uuid
Workspace to scope the request to. Defaults to the caller’s default workspace.
Example:a103d8b6-42f0-4e50-9a3c-bf41e2c3c1a7
Workspace to scope the request to. Defaults to the caller’s default workspace.
Response
The file was deleted.
Example response
{
"id": "file_011CNha8iCJcU1wXNR6q4V8w",
"type": "file_deleted"
}