API ReferenceToken Management
Get token by ID
Get the specified API token by ID.
AuthorizationBearer <token>
Authenticate using an Authorization Bearer API Key.
In: header
Path Parameters
id*integer
Resource ID.
Response Body
application/json
application/json
curl -X GET "https://example.com/api/token/1"{
"success": true,
"message": "string",
"data": {
"id": 0,
"name": "string",
"key": "string",
"status": 0,
"remain_quota": 0,
"used_quota": 0,
"expired_time": 0,
"created_time": 0
}
}{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}