Models Hub
API ReferenceToken Management

Batch delete tokens

Delete multiple API tokens in a single request.

Edit this page
POST
/api/token/batch

Authorization

AuthorizationBearer <token>

Authenticate using an 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
}