Update monitor delivery
curl --request POST \
--url https://api.turos.app/v1/monitors/{monitor_id}/delivery \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.turos.app/v1/monitors/{monitor_id}/delivery"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.turos.app/v1/monitors/{monitor_id}/delivery', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Monitors
Update monitor delivery
Update or replace the monitor’s delivery destination (e.g., set or change an email recipient).
POST
/
v1
/
monitors
/
{monitor_id}
/
delivery
Update monitor delivery
curl --request POST \
--url https://api.turos.app/v1/monitors/{monitor_id}/delivery \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.turos.app/v1/monitors/{monitor_id}/delivery"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.turos.app/v1/monitors/{monitor_id}/delivery', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}