Logout
Select
SaaS
Customer Managed
This operation ends the current session. Pass the token in the AuthToken header to end the current session
Responses
- 200
- 401
OK
- text/plain
- Example 1
User logged out
Unauthorized
- application/json
- Schema
- Example (from schema)
- User already logged out
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
POST /logout
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Logout' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Logout' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Logout' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Logout' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Logout' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Logout' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Logout' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>'