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": "06de4df8-a8d8-4903-a28a-c221e9878e50",
"type": "post_mortem_templates",
"attributes": {
"name": "Commodi reiciendis voluptatem ullam.",
"slug": "commodi-reiciendis-voluptatem-ullam",
"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-01-22T13:49:24.420-08:00",
"updated_at": "2026-01-22T13:49:27.476-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": "06de4df8-a8d8-4903-a28a-c221e9878e50",
"type": "post_mortem_templates",
"attributes": {
"name": "Commodi reiciendis voluptatem ullam.",
"slug": "commodi-reiciendis-voluptatem-ullam",
"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-01-22T13:49:24.420-08:00",
"updated_at": "2026-01-22T13:49:27.476-08:00"
}
}
}