Token refresh

The access_token is valid for 24 hours. Once it expires, you can refresh it using the refresh_token, so there is no need to perform the login process again. The access_token is valid for 60 days. Please use the following request to obtain a new access_token:

post
Authorizations
Body
usernamestring · max: 128Required
refresh_tokenstringWrite-onlyRequired
Responses
200
Successful refresh token flow, output
application/json
post
POST /v1/auth/refresh HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "username": "john.doe",
  "refresh_token": "RefreshToken"
}
{
  "AccessToken": "AccessToken",
  "ExpiresIn": 123,
  "TokenType": "Type",
  "IdToken": "IdToken"
}

Last updated