Revoke a publish token
DELETE
Signed-in session only (cookie, or the releases login session token). Revokes one of the caller's publish tokens; it stops working immediately. 404 when the id isn't a publish token the caller owns. Idempotent.
bearerAuthheader
AuthorizationBearer <relk_… | relu_… | OAuth JWT>Machine/operator tokens use the relk_ prefix; self-serve read-only user keys use relu_; Sign in with Releases supplies an OAuth access token. Required scope depends on the endpoint.
id*stringRevoked
application/json- response
id*stringrevokedAt*stringcurl -X DELETE 'https://api.releases.sh/v1/me/publish-tokens/string'Example Response
{ "id": "string", "revokedAt": "string"}