Skip to main content
Document Operations

Update public link

<small>Requires an API token with the Document Manager role.</small>

PATCH
/documents/{document}/public-link

Updates the document's active public link. The link URL never changes; to get a fresh URL, delete the link and create a new one.

Returns a 404 response when the document has no active public link.

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

documentstringrequired

The document UUID

Body

application/json
expires_atstring | null

When the link stops working. Pass null for a link that never expires

Example: 2026-10-19T12:00:00Z

Response

application/json

ShareableLinkResource

dataobjectrequired