Remove a Personal Access Token
Removes a machine users personal access token by the given token ID and an optionally given user ID.
Required permission:
- user.write
DELETE
user_id*user_idtoken_id*token_idThe tokens ID.
Success
application/json- response
deletionDate?deletion_dateThe timestamp of the personal access token deletion.
Format
date-timecurl -X DELETE 'https://example.com/v2/users/string/pats/string'Example Response200
{ "deletionDate": "2023-01-15T01:30:15.01Z"}Was this page helpful?
