Delete PAT
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:
- Create a replacement token.
- Update your integration to use the new token.
- Delete the old token with this endpoint.
DELETE
Delete PAT
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Payload used to delete a personal access token by name.
The personal access token name to delete.
Required string length:
1 - 256Response
Personal access token deleted