PUT
/
v1
/
post_mortems
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/post_mortems/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_post_mortems",
    "attributes": {
      "title": "<string>",
      "status": "draft",
      "started_at": "<string>",
      "mitigated_at": "<string>",
      "resolved_at": "<string>",
      "show_timeline": true,
      "show_timeline_trail": true,
      "show_timeline_genius": true,
      "show_timeline_tasks": true,
      "show_timeline_action_items": true,
      "show_services_impacted": true,
      "show_functionalities_impacted": true,
      "show_groups_impacted": true,
      "show_alerts_attached": true,
      "show_action_items": true,
      "cause_ids": [
        "<string>"
      ]
    }
  }
}'
{
  "data": {
    "id": "4bb748b3-1265-4c45-a876-c6ae0045b04a",
    "type": "incident_post_mortems",
    "attributes": {
      "incident_id": "85097594-159f-4d61-ab1a-4ac402d85e23",
      "title": "Retrospective updated",
      "status": "draft",
      "url": "https://test.rootly.com/account/post_mortems/eveniet-sint-aut-aut",
      "short_url": null,
      "content": null,
      "published_at": null,
      "started_at": "2025-03-28T23:02:11.173-07:00",
      "mitigated_at": null,
      "resolved_at": null,
      "cancelled_at": null,
      "show_timeline": false,
      "show_timeline_starred_only": false,
      "show_timeline_genius": true,
      "show_timeline_trail": true,
      "show_timeline_tasks": true,
      "show_timeline_action_items": true,
      "show_timeline_order": "desc",
      "show_functionalities_impacted": true,
      "show_services_impacted": true,
      "show_groups_impacted": true,
      "show_action_items": true,
      "created_at": "2025-03-28T23:02:11.789-07:00",
      "updated_at": "2025-03-28T23:02:18.599-07:00"
    },
    "relationships": {
      "incident_retrospective_steps": {
        "data": []
      }
    }
  }
}

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