请求头

请求头必填说明
AuthorizationBearer YOUR_ACCESS_TOKEN,账号访问令牌(控制台登录态,非 sk- API Key)
Content-Typeapplication/json

接口:POST /api/token/batch 一次删除多个 API Key(DeleteTokenBatch,批量删除,非创建)。

请求体

字段必填类型说明
idsinteger\[\]要删除的 Token ID 列表,ID 来自 GET /api/token/data.items[].id
curl -X POST https://top.qingyuntop.ai/dashboard//api/token/batch \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"ids": [10623, 10624]}'

Response

{ "success": true, "message": "", "data": 2 }