keys
Revoke Key
Stop a key working. Immediate, and not reversible — mint a new one instead.
You cannot revoke the key you are calling with by its id: the request would succeed and leave you unable to make another. Create a replacement first, move your clients to it, then revoke this one — or, to end the key you hold on purpose, DELETE /v1/keys/current.
Jobs already submitted with the revoked key are unaffected. They belong to the account, and so does their history.
delete/v1/keys/{key_id}
Request
- Base URL: https://api.craterview.ai
- URL: https://api.craterview.ai/v1/keys/{key_id}
- Auth: HTTP bearer
Path parameters
key_idstring required
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.