---
title: "Delete a personal access token"
method: POST
path: "/api/my-account/personal-access-tokens/delete"
tags: ["My account"]
---

# Delete a personal access token

`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`)

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.

## Request body

- object
  - `name` string, required: The name of the token to delete.

## Response `204`

The personal access token was deleted successfully.

## Other responses

- `400`: The request body is invalid, or the personal access token field is not editable in the account center.
- `401`: Permission denied, recent user authentication is required or the access token does not include the `personal-access-tokens` scope to delete a personal access token.
- `403`: The request was made by a third-party application.
- `404`: The personal access token was not found.

## Changes

- **2026-10-22** `0598176e010d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/logto/apis/logto-api-references/changes/api/my-account/personal-access-tokens/delete/post.md)

---

[API](https://skmtc.dev/logto/apis/logto-api-references.md) - [All operations](https://skmtc.dev/logto/apis/logto-api-references/llms.txt) - [OpenAPI document](https://skmtc.dev/logto/apis/logto-api-references/revisions/beed1405186a?raw)
