Access Tokens
Manage access tokens for dashboard and CLI
Create access token
Authorization
AccessTokenAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*unknown
Response Body
application/json
application/json
curl -X POST "https://api.lelantos.ai/access-tokens" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"id": "string",
"name": "string",
"token": "string"
}{
"code": 0,
"message": "string"
}Delete access token
Authorization
AccessTokenAuth AuthorizationBearer <token>
In: header
Path Parameters
accessTokenID*string
Response Body
application/json
curl -X DELETE "https://api.lelantos.ai/access-tokens/string"Empty
{
"code": 0,
"message": "string"
}