Skip to main content

RenewLoginToken

Select

Customer Managed

This operation renews and returns a new session token by providing the expired token

Request Body

NameDescription
sessionIdAuthtoken which needs to be renewed
deviceIdDevice name from where login API was called.

Note: Same deviceId must be passed in POST /Login API during login

Request Body required
  • deviceId string required
  • sessionId string required
Responses

OK


Schema
  • token string
  • error object
POST /renewlogintoken    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
token
Body required

{
"deviceId": "{{LoggedInDeviceName}}",
"sessionId": "{{ExpiredTOKEN}}"
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/RenewLoginToken' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"deviceId": "{{LoggedInDeviceName}}",
"sessionId": "{{ExpiredTOKEN}}"
}'