ZITADEL Docs
APIsCore ResourcesV2User

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
/v2/users/{user_id}/pats/{token_id}

Path Parameters

user_id*string
token_id*string

The tokens ID.

Response Body

application/json

curl -X DELETE "https://loading/v2/users/string/pats/string"
{
  "deletionDate": "2023-01-15T01:30:15.01Z"
}

Was this page helpful?