Docs
Delete File Association
DELETE /drives/{eventId}/files/{fileId}/associations/{associationId}
DELETE
/drives/{eventId}/files/{fileId}/associations/{associationId}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. |
Removes an association from a file, revoking the entity's access. Requires File.* (admin) permission on the file.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| driveId | Guid | Required | The event ID. |
| fileId | Guid | Required | The file ID. |
| associationId | Guid | Required | The association ID to remove. |
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 file. |
NOT_FOUND | 404 | File or association not found. |