Refresh token

Fill refresh key to ai-api-refresh-key in the http header, and ai-api-access-token, Authorization, Referer are also needed in the http header. Http body can be empty

Responses
200

New authorized token, token refresh key, token expire unix timestamp are returned

500

Refresh key invalid or Bad token to refresh, can't get claim or public api access token found but not correct

put/auth/v2/token
Request samples
curl -i -X PUT \
  https://qa-web-02.qima.com/auth/v2/token
Response samples
application/json
{
  • "id": "string",
  • "userId": "string",
  • "userType": [
    ],
  • "token": [
    ],
  • "validBefore": "string",
  • "refreshKey": "string"
}