Skip to main content
PUT
/
api
/
v1
/
monitors
/
{monitorId}
/
alert-channels
Replace the linked alert channel set for a monitor
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"
  ]
}

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Path Parameters

monitorId
string<uuid>
required

Body

application/json

Replace the alert channels linked to a monitor

channelIds
string<uuid>[]
required

IDs of alert channels to link (replaces current list)

IDs of alert channels to link (replaces current list)

Response

200 - */*

OK

data
(string<uuid> | null)[] | null