Revoke an API key. The key starts returning 403 on every request immediately; other keys are unaffected.
keyId / prefix shown in the list response).200 OKrevokedAt set to the revocation time.
403. No grace period.revokedAt field is set once and never cleared. To re-enable access, mint a new key.404 (we don’t confirm existence).| Code | Meaning |
|---|---|
401 | Missing Authorization header, or JWT expired / invalid |
403 | Used an API key instead of a Cognito JWT |
404 | Unknown prefix, or key belongs to another business |