Docs

Delete File

DELETE /drives/{eventId}/files/{fileId}

DELETE/drives/{eventId}/files/{fileId}

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 file and all of its associated data. Requires File.* (admin) permission on the file — File.Edit is not sufficient. This action cannot be undone.

Cascading deletion includes:

  • All versions of the file
  • All formats (blobs) for every version, deleted from Azure Blob Storage
  • All associated entities (users, collaborators, areas)
  • All file links
  • All activity log records

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
fileIdGuidRequiredThe file ID.

Response

200 OK — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token, or caller does not have File.* on this file.
NOT_FOUND404File not found in this drive.