Docs

Delete File Version

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

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

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 version and all of its formats (blobs) from the file. Also removes all comments on the version. Requires File.* or File.Edit permission on the file. This action cannot be undone.

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
fileIdGuidRequiredThe file ID.
versionIdGuidRequiredThe version ID to delete.

Response

200 OK — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token, or insufficient permissions.
NOT_FOUND404File or version not found.