Skip to main content
Permanently deletes a file or folder. Deleting a folder also deletes everything inside it, recursively.
This is destructive and irreversible. If the item is a folder, every file and subfolder under it is removed. Confirm with the user before calling this endpoint.
Deleting a file that is referenced by one or more project documents does not automatically remove those documents. Call Delete Documents first if you want the documents to disappear from a project.
Permission required: drive:item_delete · service

Path Parameters

string
required
Concrete item ID to delete. Your workspace root (MY_SPACE) cannot be deleted.

Response

boolean
Indicates if the request was successful
string
Human-readable status message