Docs
Delete Folder
DELETE /drives/{eventId}/folders/{folderId}
DELETE
/drives/{eventId}/folders/{folderId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Permanently deletes a folder and all of its contents recursively. Requires File.* (admin) permission on the folder — File.Edit is not sufficient. This action cannot be undone.
Cascading deletion includes:
- All nested subfolders (recursively)
- All files in the folder and subfolders
- All versions, formats (blobs), and associated entities on those files
- All folder-level associations and links
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| driveId | Guid | Required | The event ID. |
| folderId | Guid | Required | The folder ID. |
Response
200 OK — No response body.
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid token, or caller does not have File.* on this folder. |
NOT_FOUND | 404 | Folder not found. |