Delete personal access token

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

Delete a token for the user by name.

Path parameters

  • userId string Required

    The unique identifier of the user.

  • name string Required

    The name of the token.

Responses

DELETE /api/users/{userId}/personal-access-tokens/{name}
curl \
 -X DELETE https://[tenant_id].logto.app/api/users/{userId}/personal-access-tokens/{name} \
 -H "Authorization: Bearer $ACCESS_TOKEN"