Skip to main content
DELETE
/
api-keys
/
{key_id}
Revoke an API key (admin, interactive session only)
curl --request DELETE \
  --url https://api.app.lastaccountingcompany.com/portal/api-keys/{key_id} \
  --header 'Authorization: Bearer <token>'
{
  "revoked": true,
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Firebase ID token from an interactive portal session. Required for admin/approver-only operations (payroll approval, company settings, API-key management).

Path Parameters

key_id
string
required

Response

Key revoked.

revoked
boolean
id
string