Skip to main content

Remove a Personal Access Token

DELETE 

/v2/users/:userId/pats/:tokenId

Removes a machine users personal access token by the given token ID and an optionally given user ID.

Required permission:

  • user.write

Request​

Responses​

The personal access token was either successfully removed or it was not found in the first place.