Retrieve a new access token for the user identified by the specified refresh token
POST/api/v2/login/token
Retrieve a new access token for the user identified by the specified refresh token
Request
Query Parameters
cookie string
Use cookies instead of returning the tokens
- application/json
Bodyrequired
required
expiresint64
refresh-tokenstring
tokenstring
Responses
- 200
- 401
- 403
- 500
An access token which can be used for accessing wayfinder
- application/json
- Schema
- Example (from schema)
Schema
expiresint64
refresh-tokenstring
tokenstring
{
"expires": 0,
"refresh-token": "string",
"token": "string"
}
If not authenticated
If authenticated but not authorized
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
codeint32required
detailstringrequired
messagestringrequired
uristringrequired
verbstringrequired
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}