API 密钥
删除一个 API key
为已认证账户按 ID 删除一个 CometAPI API key。
DELETE
cURL
使用此端点可按 ID 删除一个 API key。
删除后,该 key 将无法再用于模型请求。响应仅确认删除是否成功。
路径参数
在 Console → Personal Settings 生成个人访问令牌,然后将其作为原始
Authorization header 值发送。不要添加 Bearer 前缀。id 是 列出 API keys 返回的数字 key ID。删除某个 key 后,该 key 值将被永久失效;如果集成再次需要凭证,请创建新的 API key。授权
Personal access token copied from CometAPI Console > Personal Settings. Send the raw token value; do not prefix it with Bearer.
路径参数
Numeric API key ID returned by the list endpoint. Deleting this ID permanently invalidates that key value.