PUT
/
v1
/
post_mortem_templates
/
{id}
Update a Retrospective Template
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": "b1376b7e-ccd1-4fda-bd44-378d8370e105",
    "type": "post_mortem_templates",
    "attributes": {
      "name": "My Retrospective Template Updated",
      "slug": "accusamus-praesentium-consequatur-delectus",
      "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-25T16:57:50.691-07:00",
      "updated_at": "2025-07-25T16:57:53.980-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/vnd.api+json

Response

200
application/vnd.api+json

Retrospective Template updated

The response is of type object.