RenewLoginToken
Select
Customer Managed
This operation renews and returns a new session token by providing the expired token
Request Body
Name | Description |
---|---|
sessionId | Authtoken which needs to be renewed |
deviceId | Device name from where login API was called. |
Note: Same deviceId must be passed in POST /Login API during login
- application/json
Request Body required
- deviceId string required
- sessionId string required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- token string
error object
{
"token": "string",
"error": {}
}
{
"token": "QSDK ",
"error": {}
}
POST /renewlogintoken
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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}}"
}'
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}}"
}'
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}}"
}'
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}}"
}'
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}}"
}'
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}}"
}'
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}}"
}'