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}/osis/api/v1/auth/token
COPY
Request Body
RefreshRequest of type(s) application/json
Optional
{
"refresh_token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJNUEcwUlZDRENERFRTUkpKT05KSyIsInNjb3BlcyI6WyJST0xFX1JFRlJFU0hfVE9LRU4iXSwiaXNzIjoiaHR0cDovL2NlcGgub3Npcy5vc2Uudm13YXJlLmNvbSIsImp0aSI6IjZiMGFmMGUwLTI3ZDctNDA2Zi1iM2JhLTkwYTUyZjRmZDJmNyIsImlhdCI6MTU5NjUzMzU5NSwiZXhwIjoxNTk2NTM3MTk1fQ.2i1UWqWs2fgjjP9Z2uWbFJTiZu5fWoey3OOJQNt6Fe3fZbKN5Jbv7INCT4l9lD5lnu_kqEavy_xm8DO_jXjPbA"
}
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
Token Operations
POST
Refresh Token