provider On-Call GET
/api/v2/on-call/users/{user_id}/notification-rules @utdk/datadog
/api/v2/on-call/users/{user_id}/notification-rules List On-Call notification rules for a user
List the notification rules for a user. The authenticated user must be the target user or have the `on_call_admin` permission
- include query
- Comma-separated list of included relationships to be returned. Allowed values: `channel`.
- string
- user_id path required
- The user ID
- 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.listusernotificationrules()