Zum Hauptinhalt springen
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.

Authorizationstringheadererforderlich

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

documentstringerforderlich

The document UUID

Body

application/json
expires_atstring | null

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

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

Antwort

application/json

ShareableLinkResource

dataobjecterforderlich