Was this helpful?
Retrieve monitor server information.
/monitor
curl -L \ --url 'https://HOSTNAME:8887/api/monitor' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "enabled": true, "extension_number": "text" }
Update monitor server
Enable monitor server or not.
The extension number of monitor server.
The extension number.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/monitor' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "enabled": true, "extension_number": "text" }'
No body