Models Hub
API ReferenceToken Management

View a specific token key

View a specific token key. This endpoint comes from the current new-api router code and returns a unified management endpoint response; the specific `data` structure varies with the business object.

Edit this page
POST
/api/token/{id}/key

Path Parameters

id*integer

Unique resource ID.

Response Body

application/json

curl -X POST "https://example.com/api/token/0/key"
{
  "success": true,
  "message": "string",
  "data": null
}