Status Pages
Create degradation template
Creates a new degradation template.
post/api/v2/statuspages/{page_id}/degradation_templates
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/tokenScopesstatus_pages_settings_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
page_idstring uuid required
The ID of the status page.
Query parameters
includestring
Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user, status_page.
Request body
Example request
{
"data": {
"attributes": {
"components_affected": [
{
"status": "operational"
}
],
"updates": [
{
"status": "investigating"
}
]
},
"type": "degradation_templates"
}
}Response
Created
Example response
{
"data": {
"attributes": {
"components_affected": [
{
"status": "operational"
}
],
"updates": [
{
"status": "investigating"
}
]
},
"relationships": {
"created_by_user": {
"data": {
"type": "users"
}
},
"last_modified_by_user": {
"data": {
"type": "users"
}
},
"status_page": {
"data": {
"type": "status_pages"
}
}
},
"type": "degradation_templates"
},
"included": [
{
"type": "users"
}
]
}Changes
Changes to this operation have not been checked yet.