latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-1391215649.1 KB

64bfe76b130e

Personal Access Tokens

Revoke one of your own personal access tokens

Revokes a token by id, scoped to {tokenId, clientId, callerUserId} — a caller can never revoke another user's token through this route, even though everyone in the org shares the same underlying pat-system:<orgId> client. Revocation takes effect immediately: the token's next verification attempt fails, including one already in flight.

delete/personal-access-tokens/{tokenId}

Path parameters

tokenIdstring required

Personal access token ID

Request body

reasonstring

Example request

{
  "reason": "rotated"
}

Response

Personal access token revoked successfully

messagestring required

Example response

{
  "message": "Personal access token revoked successfully"
}