Users

Delete personal access token

Delete a token for the user by name.

post/api/users/{userId}/personal-access-tokens/delete

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/users/{userId}/personal-access-tokens/delete
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

userIdstring required

The unique identifier of the user.

Request body

namestring required

The name of the token to delete.

Response

The token was deleted successfully.

Changes

No recorded changes to this operation across all 8 revisions of this API.