Keys
Revoke an API key
404 if the key is not in this workspace.
Requires the keys:write scope. Accepts all three lanes: a session JWT (bounded by the caller's role on this workspace) or an il_* machine credential whose own scope set, workspace set and validity window cover it — both ceilings apply and neither can raise the other, so a credential carrying keys:write is still refused where the role does not permit it.
A credential with no scope record resolves to LEGACY_DEFAULT, which does NOT include keys:write — mint a key with it explicitly (POST /v2/workspaces/{id}/keys).
delete/v2/workspaces/{id}/keys/{keyId}
Request
- Base URL: https://api.infolang.ai
- URL: https://api.infolang.ai/v2/workspaces/{id}/keys/{keyId}
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
Path parameters
idstring required
keyIdstring required
Response
Revocation result
Changes
No recorded changes to this operation across all 1 revision of this API.