Update a specific Retrospective Template by id
curl --request PUT \
--url https://api.rootly.com/v1/post_mortem_templates/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "post_mortem_templates",
"attributes": {
"name": "<string>",
"default": true,
"content": "<string>",
"format": "html"
}
}
}
'{
"data": {
"id": "47a1ad95-2978-4451-b13a-a7eac24ae4e5",
"type": "post_mortem_templates",
"attributes": {
"name": "Ullam debitis non consequuntur.",
"slug": "ullam-debitis-non-consequuntur",
"format": "html",
"default": false,
"content": "<div class=\"trix-content\">\n <p>Safe content</p>\n</div>\n",
"content_html": "<p>Safe content</p>",
"content_json": null,
"created_at": "2026-02-11T19:17:55.872-08:00",
"updated_at": "2026-02-11T19:17:57.646-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Resource UUID
Show child attributes
Retrospective Template updated with sanitized content
Show child attributes
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/post_mortem_templates/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "post_mortem_templates",
"attributes": {
"name": "<string>",
"default": true,
"content": "<string>",
"format": "html"
}
}
}
'{
"data": {
"id": "47a1ad95-2978-4451-b13a-a7eac24ae4e5",
"type": "post_mortem_templates",
"attributes": {
"name": "Ullam debitis non consequuntur.",
"slug": "ullam-debitis-non-consequuntur",
"format": "html",
"default": false,
"content": "<div class=\"trix-content\">\n <p>Safe content</p>\n</div>\n",
"content_html": "<p>Safe content</p>",
"content_json": null,
"created_at": "2026-02-11T19:17:55.872-08:00",
"updated_at": "2026-02-11T19:17:57.646-08:00"
}
}
}