Keys
Revoke an API key
Stops the key authenticating. The row is kept (revoked, not deleted) so the history stays auditable. Returns {revoked:false} when the id is unknown OR belongs to another tenant or another user — deliberately indistinguishable, so the endpoint cannot be used to probe for key ids. Revocation is immediate on this pod and within 30s elsewhere (the resolution cache TTL).
Required scope: brain:read.
post/v1/keys/{id}/revoke
Request
- Base URL: https://brain.inite.ai
- URL: https://brain.inite.ai/v1/keys/{id}/revoke
- Auth: HTTP bearer
Path parameters
idstring required
Key id from the issuing response or a listing.
Response
Whether a key was revoked.
Changes
No recorded changes to this operation across all 1 revision of this API.