provider Status Pages PATCH
/api/v2/statuspages/{page_id} @utdk/datadog
/api/v2/statuspages/{page_id} Update status page
Updates an existing status page's attributes. **Note**: Publishing and unpublishing via the `enabled` property will be deprecated on this endpoint. Use the dedicated [publish](#publish-status-page) and [unpublish](#unpublish-status-page) status page endpoints instead.
- delete_subscribers query
- Whether to delete existing subscribers when updating a status page's type.
- boolean
- page_id path required
- The ID of the status page.
- string
- include query
- Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user.
- 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.updatestatuspage({
"delete_subscribers": false
})