Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Remove a Personal-Access-Token (PAT) by ID

Deprecated: use user service v2 RemovePersonalAccessToken instead.

Delete a PAT from a user. Afterward, the user will not be able to authenticate with that token anymore.

DELETE
/management/v1/users/{user_id}/pats/{token_id}

Path Parameters

user_id*user_id
token_id*token_id

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X DELETE 'https://example.com/management/v1/users/string/pats/string'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?