360 Monitoring
Clear the WebPros authentication token
Changed onThis function removes the stored WebPros authentication token for 360 Monitoring.
This function does not accept any parameters. It deletes the token bundle that the server stored during the WebPros single sign-on flow, which signs the server out of 360 Monitoring.
The function is idempotent. If the server does not store a token, the function reports success and makes no changes.
get/360Monitoring/webpros_auth_clear
Request
- Base URLhttps://whm-server.tld:2087/json-api
- AuthHTTP basic
Response
The HTTP Request succeeded.
Example response
{
"data": {
"error": "The system could not remove the token file.",
"reason": "removal_failed",
"success": 1
},
"metadata": {
"command": "webpros_auth_clear",
"namespace": "360Monitoring",
"reason": "OK",
"result": 1,
"version": 1
}
}Changes
- info
endpoint added
- info