ModelSell Docs
ManagementToken Management

查看指定令牌密钥

查看指定令牌密钥。该接口来自 new-api 当前 router 代码,返回统一管理接口响应;具体 data 结构随业务对象变化。

POST
/api/token/{id}/key

查看指定令牌密钥。该接口来自 new-api 当前 router 代码,返回统一管理接口响应;具体 data 结构随业务对象变化。

Authorization

bearerAuth
AuthorizationBearer <token>

使用 Authorization Bearer API Key 进行鉴权。

In: header

Path Parameters

id*integer

资源唯一 ID。

Response Body

application/json

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