Skip to main content
POST
/
api
/
v1
/
on-call
/
monitors
/
{monitorId}
/
policies
Assign an on-call policy to a monitor
curl --request POST \
  --url https://api.example.com/api/v1/on-call/monitors/{monitorId}/policies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "policyId": "<string>"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

monitorId
string
required

Body

application/json
policyId
string
required

Response

204 - undefined