PUT
/
v1
/
post_mortem_templates
/
{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": "b56f5cc5-ee2c-48aa-b148-4d6a05a6695e",
    "type": "post_mortem_templates",
    "attributes": {
      "name": "My Retrospective Template Updated",
      "slug": "ad-voluptatem-dolorum-aperiam",
      "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-05-29T17:47:09.118-07:00",
      "updated_at": "2025-05-29T17:47:12.533-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.