Refresh Token
Operation ID: refreshToken
Refresh JWT access token with refresh token. This API is required as it is highly recommended to use API token instead of basic authentication.
Request
URI
POST
https://{api_host}/api/v1/auth/token
COPY
Request Body
RefreshRequest
of type(s)
application/json
Optional
"RefreshRequest Object"
string
refresh_token
Required
refresh token of OSIS
Responses
200
OK
Returns
RefreshResponse
of type(s)
application/json
{
"access_token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJNUEcwUlZDRENERFRTUkpKT05KSyIsInNjb3BlcyI6WyJST0xFX0FETUlOIl0sImlzcyI6Imh0dHA6Ly9jZXBoLm9zaXMub3NlLnZtd2FyZS5jb20iLCJpYXQiOjE1OTY1MzM1OTUsImV4cCI6MTU5NjUzNDQ5NX0.OvUJS0kA745Bo8G9EWb_xOw7FFe6rVDZt9Au0vSPltDEuxcb0fpLPC360D_j5nwpb3ajzub6BMQgJroJGts0zg"
}
string
access_token
Required
access token of OSIS
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v1/auth/token
Token Operations
POST
Refresh Token