API Keys
Create, list, and revoke API keys.
since 0.1.0-beta
API keys authenticate your SDK and REST requests. They are scoped to your account.
# 创建(明文 key 只返回一次)
curl -X POST https://api.combee.cloud/v1/api-keys \
-H "x-api-key: $COMBEE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
# 列出
curl https://api.combee.cloud/v1/api-keys \
-H "x-api-key: $COMBEE_API_KEY"
# 撤销
curl -X DELETE https://api.combee.cloud/v1/api-keys/1a2b3c4d-... \
-H "x-api-key: $COMBEE_API_KEY"- Keys look like
cmb_sk_...; Combee stores only a hash. - Revocation is immediate: revoked keys are rejected on the next request.
- The plaintext key is returned only at creation time — there is no way to view it later.