# Delete personal access token **POST /api/users/{userId}/personal-access-tokens/delete** Delete a token for the user by name. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **userId** (string) The unique identifier of the user. ### Body: application/json (object) - **name** (string) The name of the token to delete. ## Responses ### 204 The token was deleted successfully. ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 404 Not Found [Powered by Bump.sh](https://bump.sh)