Update a specific incident retrospective by 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": "62ce9573-0b33-4bfe-b548-9974766e6e5f",
"type": "incident_post_mortems",
"attributes": {
"incident_id": "f6981913-714d-4b8e-b4d5-5853afb2fdeb",
"title": "Retrospective updated",
"status": "draft",
"url": "https://test.rootly.com/account/post_mortems/numquam-itaque-cupiditate-autem",
"short_url": null,
"content": null,
"published_at": null,
"started_at": "2025-07-20T00:40:27.514-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-07-20T00:40:28.105-07:00",
"updated_at": "2025-07-20T00:40:39.420-07:00"
},
"relationships": {
"incident_retrospective_steps": {
"data": []
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_post_mortem updated
The response is of type object
.
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": "62ce9573-0b33-4bfe-b548-9974766e6e5f",
"type": "incident_post_mortems",
"attributes": {
"incident_id": "f6981913-714d-4b8e-b4d5-5853afb2fdeb",
"title": "Retrospective updated",
"status": "draft",
"url": "https://test.rootly.com/account/post_mortems/numquam-itaque-cupiditate-autem",
"short_url": null,
"content": null,
"published_at": null,
"started_at": "2025-07-20T00:40:27.514-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-07-20T00:40:28.105-07:00",
"updated_at": "2025-07-20T00:40:39.420-07:00"
},
"relationships": {
"incident_retrospective_steps": {
"data": []
}
}
}
}