/api/document
DELETE /api/document/{document-id}/public-link
Changed onRemove 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
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Path parameters
document-idinteger required
value must be an integer greater than zero.
Response
Successful response
Changes
- info
api operation id
delete-api-document-document-id-public-linkwas added
- info