cURL
curl --request POST \ --url https://api.phare.io/uptime/monitors/{monitorId}/pause \ --header 'Authorization: Bearer <token>'
{ "message": "Unauthorized" }
Pause a monitor by ID
Use a user token to access authenticated routes. The token must be specified in the Authorization HTTP header with the following format 'Authorization: Bearer '.
ID of the monitor to pause
Success, monitor paused
Was this page helpful?