Docs

Update File Association

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

PUT/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.

Updates the permissions and reviewer status of an existing file association. Requires File.* (admin) permission on the file.

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
fileIdGuidRequiredThe file ID.
associationIdGuidRequiredThe association ID to update (from the `id` field on an associated entity in the Get File response).

Request Body

FieldTypeRequiredDescription
permissionsarrayRequiredUpdated permissions to grant (e.g., `["File.Read"]`, `["File.*"]`).
isReviewerboolRequiredWhether this entity is designated as a reviewer.

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.