update_team_escalation_policy
Save a new revision of a team's escalation policy (the whole document again, not a diff) and activate it unless activate is false. The policy orders how members are paged when a path level targets the team: levels name current members as user targets, or broadcast for everyone; every member a request reaches may still decide it. Call read_reference (escalation_paths) first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | The policy's nodes in order, in the escalation path grammar, except that level targets are user targets naming current team members (membership ids from get_team) or one broadcast target ({type: broadcast}, no id) for every member. Every node needs a UUID id. See read_reference topic escalation_paths. | |
| repeat | No | What to do when every level has been paged and nobody answered: {times: 1..9, after: '15m'} walks the levels again. | |
| team_id | Yes | The team's id, from list_teams. | |
| activate | No | Activate the new revision right away. Defaults to true. | |
| working_hours | No | Named working-hours sets that defer nodes and working_hours conditions refer to by id, as an escalation path takes them. |