cURL
curl --request PUT \ --url https://app.datafold.com/api/v1/monitors/{id}/toggle \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "enabled": true } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Use the 'Authorization' header with the format 'Key '
The unique identifier of the monitor.
Indicate whether to enable or disable the monitor.
Successful Response