Docs
Update File Link
PUT /file-links/{linkId}
PUT
/file-links/{linkId}Changes a link's name, level, expiry or doc presets; only the fields sent apply, so an omitted expiry stays, and clearExpiry removes it. filterValues and allowedValues apply to a link on a doc only (400 otherwise). Requires Manage on the linked file or folder. The linkId comes from Drives_GetFileLinks or Drives_GetFileFolderLinks.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| linkId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| level | string | Optional | |
| expiresAt | date-time | Optional | |
| clearExpiry | boolean | Optional | |
| filterValues | string | Optional | |
| allowedValues | string | Optional |