Skip to main content
PATCH
/
api
/
v1
/
on-call
/
policies
/
{policyId}
Update an on-call policy
curl --request PATCH \
  --url https://api.example.com/api/v1/on-call/policies/{policyId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "config": {},
  "teamId": {},
  "thresholdMinutes": 123
}
'

Authorizations

Authorization
string
header
required

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

Path Parameters

policyId
string
required

Body

application/json
name
string
channelType
enum<string>
Available options:
email,
sms,
whatsapp,
webhook,
slack,
discord,
telegram,
teams
config
object
teamId
object
thresholdMinutes
number

Response

200 - undefined