Docs

Update File Link

PUT /drives/{eventId}/files/{fileId}/links/{linkId}

PUT/drives/{eventId}/files/{fileId}/links/{linkId}

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 name and permissions of an existing public file link.

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
fileIdGuidRequiredThe file ID.
linkIdGuidRequiredThe link ID to update.

Request Body

FieldTypeRequiredDescription
namestringRequiredUpdated display name.
permissionsarrayRequiredUpdated permissions granted via the link.

Response

200 OK — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
NOT_FOUND404File or link not found, or link does not belong to this file.