curl --request PUT \
--url https://api.devhelm.io/api/v1/monitors/{monitorId}/alert-channels \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"channelIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"data": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}curl --request PUT \
--url https://api.devhelm.io/api/v1/monitors/{monitorId}/alert-channels \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"channelIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"data": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}API key (dh_live_...) or Auth0 JWT token
Replace the alert channels linked to a monitor
IDs of alert channels to link (replaces current list)
IDs of alert channels to link (replaces current list)
OK