Skip to content

POST /auth/tokens/bootstrap​

POST
/auth/tokens/bootstrap

Parameters​

Header Parameters

X-Bootstrap-Token*
Type
string
Required

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
Headers
Body

Samples​

Powered by VitePress OpenAPI