Create a personal access token​
POST
/auth/login
Authorizations​
basicAuth
TypeHTTP (basic)
Request Body​
application/json
JSON
{
"note": "string",
"description": "string",
"expires_in": 0
}
Responses​
token issued
application/json
JSON
{
"url": "string",
"token": "string",
"note": "string",
"note_url": "string",
"created_at": "string",
"updated_at": "string",
"scopes": [
"string"
],
"app": {
"name": "string",
"url": "string"
},
"master_token": true,
"expires_in": 0,
"expired_at": "string",
"site_wide": true,
"site": "string"
}