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": "37caba01-b760-45f2-a3d0-63736ba07d4c",
"type": "post_mortem_templates",
"attributes": {
"name": "My Retrospective Template Updated",
"slug": "quia-fuga-qui-error",
"format": "markdown",
"default": false,
"content": "<div class=\"trix-content\">\n <h2>Test update template</h2>\n\n<h3>Test new line</h3>\n</div>\n",
"created_at": "2025-08-15T07:15:06.120-07:00",
"updated_at": "2025-08-15T07:15:07.982-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Retrospective Template updated
The response is of type object
.
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": "37caba01-b760-45f2-a3d0-63736ba07d4c",
"type": "post_mortem_templates",
"attributes": {
"name": "My Retrospective Template Updated",
"slug": "quia-fuga-qui-error",
"format": "markdown",
"default": false,
"content": "<div class=\"trix-content\">\n <h2>Test update template</h2>\n\n<h3>Test new line</h3>\n</div>\n",
"created_at": "2025-08-15T07:15:06.120-07:00",
"updated_at": "2025-08-15T07:15:07.982-07:00"
}
}
}