CASE FrameworkCASE Framework

Extend session

POST
/v1/auth/extend-session

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

renewToken*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/auth/extend-session" \  -H "Content-Type: application/json" \  -d '{    "renewToken": "string"  }'
{
  "accessToken": "string",
  "sessionID": "string",
  "expiresAt": 0,
  "isAdmin": true
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}