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

FieldTypeRequiredDescription
linkIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
levelstringOptional
expiresAtdate-timeOptional
clearExpirybooleanOptional
filterValuesstringOptional
allowedValuesstringOptional