provider On-Call PUT /api/v2/on-call/teams/{team_id}/routing-rules
@utdk/datadog /api/v2/on-call/teams/{team_id}/routing-rules
Set On-Call team routing rules
Set a team's On-Call routing rules
team_id path required
The team ID
string
include query
Comma-separated list of included relationships to be returned. Allowed values: `rules`, `rules.policy`.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

setoncallteamroutingrules
PUT/api/v2/on-call/teams/{team_id}/routing-rules
Set a team's On-Call routing rules

Parameters

required

The team ID

Comma-separated list of included relationships to be returned. Allowed values: `rules`, `rules.policy`.

Input

Holds the data necessary to create or update team routing rules, including attributes, ID, and resource type.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.setoncallteamroutingrules()