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

Path Parameters

user_id*string
token_id*string

Response Body

application/json

curl -X DELETE "https://loading/users/string/pats/string"
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?