Skip to main content
DELETE
/
v1
/
api-keys
/
{id}
Delete API token
curl --request DELETE \
  --url https://{instance}.omniapp.co/api/v1/api-keys/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "API token revoked",
  "success": true
}

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

id
string<uuid>
required

UUID of the token to revoke. The token must belong to the same organization as the authenticating user.

Response

Token revoked successfully. The row is deleted; subsequent GET returns 404.

message
string

Human-readable description of the outcome.

success
boolean

Always true on a successful revocation.