Skip to content

POST /auth/tokens​

POST
/auth/tokens

Authorizations​

BearerAuth
Type
HTTP (Bearer)

Request Body​

application/json
JSON
{
  
"name": "string",
  
"scopes": [
  
  
"string"
  
],
  
"expiresAt": "string"
}

Responses​

The request has succeeded and a new resource has been created as a result.

application/json
JSON
{
  
"token": "string",
  
"tokenInfo": {
  
  
"id": "string",
  
  
"name": "string",
  
  
"scopes": [
  
  
  
"string"
  
  
],
  
  
"expiresAt": "string",
  
  
"revokedAt": "string",
  
  
"lastUsedAt": "string",
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
}
}

Playground​

Server
Authorization
Body

Samples​

Powered by VitePress OpenAPI