Delete Pat
PATs
Delete an Organization API Key
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