Skip to main content
DELETE
Delete Pat
Row-level security scopes the lookup to the caller’s active organization, so an id from a different org behaves exactly like an unknown one — 404, never a 403 that would confirm the row exists elsewhere. Deletes the paired Logto-side personal access token first (a Logto-side 404 — already gone — is tolerated and ignored), then deletes the local pats row.

Auth

No scope is checked — managing keys is inherently limited to the caller’s own identity — and row-level security confines the lookup to the token’s active organization.

Response

200

Errors

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The organization API key's id.

Response

Successful Response

message
string
required