Skip to main content

revoke_share_link

Revoke a share link so it can no longer be used. The link will return 404 after revocation. Only the artifact owner or an admin can revoke share links.

Requires authentication and the SQLite store backend.

Input Schema

ParameterTypeRequiredDescription
tokenstringYesThe share link token to revoke

Example

{
"token": "a8f3...64-char-hex-token"
}

Response

{
"status": "revoked"
}

REST API

DELETE /api/share-links/{token}