接口
认证
传递Authorization: Bearer <api-key> 或 Authorization: ApiKey <key> 之一。
路径参数
string
required
API 密钥标识符。
响应
成功时返回204 No Content。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X DELETE https://agent.example.com/v1/api-keys/key_01E \
-H "Authorization: Bearer <api-key>"
按 ID 永久删除一个 API 密钥。吊销后,该密钥将无法再用于认证请求。
curl -X DELETE https://agent.example.com/v1/api-keys/key_01E \
-H "Authorization: Bearer <api-key>"
DELETE /v1/api-keys/{id}
Authorization: Bearer <api-key> 或 Authorization: ApiKey <key> 之一。
204 No Content。
curl -X DELETE https://agent.example.com/v1/api-keys/key_01E \
-H "Authorization: Bearer <api-key>"
Was this page helpful?