Docs

Delete File Association

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

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

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.

Removes an association from a file, revoking the entity's access. Requires File.* (admin) permission on the file.

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
fileIdGuidRequiredThe file ID.
associationIdGuidRequiredThe association ID to remove.

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 or association not found.