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": "25ccd759-c510-4321-a528-fc8d55bd89fc",
"type": "post_mortem_templates",
"attributes": {
"name": "My Retrospective Template Updated",
"slug": "qui-perspiciatis-voluptas-laborum",
"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-07-05T07:46:54.814-07:00",
"updated_at": "2025-07-05T07:46:58.388-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
.
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": "25ccd759-c510-4321-a528-fc8d55bd89fc",
"type": "post_mortem_templates",
"attributes": {
"name": "My Retrospective Template Updated",
"slug": "qui-perspiciatis-voluptas-laborum",
"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-07-05T07:46:54.814-07:00",
"updated_at": "2025-07-05T07:46:58.388-07:00"
}
}
}