Admin
Revoke Api Key
Soft-delete: mark the key inactive. Bearer-auth checks already filter on is_active = True, so a revoke takes effect on the next request. We never hard-delete because the row is referenced by DBSearchJob.api_key / DBGrowthAlert.api_key and cascading the FK is more dangerous than keeping a tombstone.
delete/admin/keys/{key_id}
Request
- Base URL: https://api.kolens.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.kolens.ai/admin/keys/{key_id}
- Auth: none declared
Path parameters
key_idstring required
Headers
x-admin-secretstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.