CASE FrameworkCASE Framework

Renew access token

POST
/v1/auth/token/renew

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

refreshToken*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/auth/token/renew" \  -H "Content-Type: application/json" \  -d '{    "refreshToken": "string"  }'
{
  "token": {
    "accessToken": "string",
    "refreshToken": "string",
    "expiresIn": 0,
    "selectedProfile": "string",
    "lastOTP": {
      "property1": 0,
      "property2": 0
    }
  },
  "user": {}
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}