Skip to main content
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": "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"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
required

Resource UUID

Body

application/vnd.api+json
data
object
required

Response

Retrospective Template updated with sanitized content

data
object
required