Exchange the issued access token for an access token
Exchange the issued access token for an access token
Query Parameters
ttl string
Default value: 30m
The duration for the access token to live
Responses
- 200
- 401
- 403
- 404
- 500
The access token
- application/json
- Schema
- Example (from schema)
Schema
expires int64
refresh-token string
token string
{
"expires": 0,
"refresh-token": "string",
"token": "string"
}
If not authenticated
If authenticated but not authorized
The access token does not exist
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
code int32
detail string
message string
uri string
verb string
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}
Loading...