Docs

Delete Folder

DELETE /drives/{eventId}/folders/{folderId}

DELETE/drives/{eventId}/folders/{folderId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **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

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
folderIdGuidRequiredThe folder ID.

Response

200 OK — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token, or caller does not have File.* on this folder.
NOT_FOUND404Folder not found.