Revoke an API key
DELETE /v1/keys/{keyId}
Revoke by status flip (never hard-deleted — the audit trail is preserved). Takes effect within ~60 seconds (authorizer cache TTL).
Example request
curl -X DELETE "https://oxtg7m5erd.execute-api.us-east-1.amazonaws.com/v1/keys/{keyId}" \
-H "Authorization: Bearer <session-jwt>" \
-H "Content-Type: application/json" \
-d '{}'Try it
Open this endpoint in the interactive playground — requests run with your API key.
Last updated on