OnCall

Replace a team's escalation policy

put/api/{org_id}/oncall/teams/{team_id}/policy

Request

Path parameters

org_idstring required

Organization name

team_idstring required

Team ID

Request body

destinationsstring[] nullable

Alert Destination names to page through. Absent leaves them unchanged.

templatestring nullable

Template override for on-call messages; absent leaves it, null or "" clears it.

Example request

{
  "rungs": [
    {
      "priority": 3
    }
  ]
}

Response

Success

destinationsstring[]

Alert Destination names this team pages through when a rung includes the Webhook channel. Reuses the destinations an org already has rather than storing URLs twice.

idstring required
org_idstring required
team_idstring required
templatestring nullable

Template override for this team's on-call messages; None uses each destination's.

Example response

{
  "rungs": [
    {
      "priority": 3
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.