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​
- 200
- 400
- 401
- 403
- default
The personal access token was either successfully removed or it was not found in the first place.
The request is malformed.
Returned when the user is not authenticated.
Returned when the user does not have permission to access the resource.
An unexpected error response.