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": "88055055-dceb-4219-a85e-1f58ced06877",
    "type": "post_mortem_templates",
    "attributes": {
      "name": "My Retrospective Template Updated",
      "default": false,
      "format": "markdown",
      "created_at": "2025-03-28T23:03:57.400-07:00",
      "updated_at": "2025-03-28T23:04:01.114-07:00",
      "content": "<div class=\"trix-content\">\n  <h2>Test update template</h2>\n\n<h3>Test new line</h3>\n</div>\n"
    }
  }
}

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
data
object
required

Response

200
application/vnd.api+json
Retrospective Template updated
data
object
required