My account

Delete a personal access token

Changed on

Delete a personal access token of the signed-in user by name. A logto-verification-id in header and the personal-access-tokens scope are required.

post/api/my-account/personal-access-tokens/delete

Request

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

Request body

namestring required

The name of the token to delete.

Response

The personal access token was deleted successfully.

Changes