Docs
Delete File Link
DELETE /drives/{eventId}/files/{fileId}/links/{linkId}
DELETE
/drives/{eventId}/files/{fileId}/links/{linkId}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. |
Permanently removes a public link from a file. Anyone who previously had access via this link will no longer be able to use it.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| driveId | Guid | Required | The event ID. |
| fileId | Guid | Required | The file ID. |
| linkId | Guid | Required | The link ID to delete. |
Response
200 OK — No response body.
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid token. |
NOT_FOUND | 404 | File or link not found. |