Skip to main content
DELETE
Delete User Pat

Auth

Requires pats:delete, which every default role carries. The delete applies to the caller’s own Logto personal access tokens, keyed on the token’s subject — there is no way to revoke another member’s, not even as an org admin (unlike organization API keys). No active organization is needed: user PATs aren’t org-bound.

Response

200

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

name
string
required

The PAT's name, not an id — user PATs are addressed by name and have no local database row.

Response

Successful Response

message
string
required