Docs
Update File Association
PUT /drives/{eventId}/files/{fileId}/associations/{associationId}
PUT
/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. |
Updates the permissions and reviewer status of an existing file association. 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 update (from the `id` field on an associated entity in the Get File response). |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| permissions | array | Required | Updated permissions to grant (e.g., `["File.Read"]`, `["File.*"]`). |
| isReviewer | bool | Required | Whether this entity is designated as a reviewer. |
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. |