ModelSell 文档
管理接口令牌管理

批量删除令牌

一次请求删除多个 API 令牌。

POST
/api/token/batch

一次请求删除多个 API 令牌。

Authorization

AuthorizationBearer <token>

使用 Authorization Bearer API Key 进行鉴权。

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/token/batch" \  -H "Content-Type: application/json" \  -d '{    "ids": [      0    ]  }'
{
  "success": true,
  "message": "string",
  "data": null
}