user-personal-access-tokens

Delete PAT

Delete an existing personal access token for the authenticated user.

Use this endpoint to revoke credentials that are no longer trusted or needed.

Common scenarios:

  • A token was exposed or shared accidentally.
  • An integration was decommissioned.
  • You are rotating credentials on a schedule.

Deletion is name-based and should be treated as an immediate revocation step. After deletion, requests authenticated with that token should no longer be authorized.

Recommended rotation workflow:

  1. Create a replacement token.
  2. Update your integration to use the new token.
  3. Delete the old token with this endpoint.
delete/user/personal-access-tokens

Request body

namestring required

The personal access token name to delete.

Response

Personal access token deleted

Changes

No recorded changes to this endpoint across all 50 revisions of this API.