Revoke a key
Deactivate a key at once. Every integration using it stops working, and it cannot be restored. success is false when the application has no key with that id, including a key of another application in the workspace. Requires scope: applications:manage. Also accepts a signed-in session instead of a key (the bootstrap path the CLI and dashboard use before a key exists). A session caller must be a workspace admin.
Authorizations
A Custral API key, created in Settings → Developers → Applications, sent as Authorization: Bearer sk_…. The X-Api-Key header is also accepted and takes precedence. Use a secret key (sk_…) from your server; a publishable key (pk_…) may hold only objects:read and usage:write. Never expose a secret key in a browser.