请求头
| 请求头 | 必填 | 说明 |
|---|---|---|
Authorization | ✓ | Bearer YOUR_ACCESS_TOKEN,账号访问令牌(控制台登录态,非 sk- API Key) |
接口:DELETE /api/token/:id 删除指定的 API Key。
路径参数
| 参数 | 必填 | 类型 | 说明 |
|---|---|---|---|
id | ✓ | integer | 要删除的 Token ID,来自 GET /api/token/ 的 data.items[].id |
curl -X DELETE https://top.qingyuntop.ai/dashboard//api/token/10623 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"Response
{
"success": true,
"message": ""
}