Status Pages
Update maintenance template
Updates an existing maintenance template's attributes.
patch/api/v2/statuspages/{page_id}/maintenance_templates/{template_id}
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.
template_idstring uuid required
The ID of the degradation or maintenance template.
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": {
"type": "maintenance_templates"
}
}Response
OK
Example response
{
"data": {
"relationships": {
"created_by_user": {
"data": {
"type": "users"
}
},
"last_modified_by_user": {
"data": {
"type": "users"
}
},
"status_page": {
"data": {
"type": "status_pages"
}
}
},
"type": "maintenance_templates"
},
"included": [
{
"type": "users"
}
]
}Changes
Changes to this operation have not been checked yet.