v12

latestOpenAPI 3.1.0AGPL-3.0raw.githubusercontent.com2026-05-286377631.6 MB
/api/document

DELETE /api/document/{document-id}/public-link

Remove the public link for a Document.

Deletes the public UUID from the Document, making it no longer accessible via the public sharing endpoint. This revokes public access to the Document - the existing public link will no longer work.

Returns a 204 No Content response on success.

Requires superuser permissions. Public sharing must be enabled via the enable-public-sharing setting. Throws a 404 if the Document doesn't exist, is archived, or doesn't have a public link.

delete/api/document/{document-id}/public-link

Path parameters

document-idinteger required

value must be an integer greater than zero.

Response

Successful response