Users

Delete personal access token

Delete a token for the user by name using the legacy path parameter. Deprecated: use the POST /delete endpoint instead to avoid url name encoding issues.

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

Request

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

Path parameters

userIdstring required

The unique identifier of the user.

namestring required

The name of the token.

Response

The token was deleted successfully.

Changes

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