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": "a818b5f3-f592-4eae-ae38-b5e0729faa31",
"type": "incident_post_mortems",
"attributes": {
"incident_id": "66c1f305-5ea9-4702-a5dd-ccfcc08ffc83",
"title": "Retrospective updated",
"status": "draft",
"url": "https://test.rootly.com/account/post_mortems/commodi-molestiae-sint-repudiandae",
"short_url": null,
"content": null,
"published_at": null,
"started_at": "2025-09-01T03:40:39.986-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-09-01T03:40:40.884-07:00",
"updated_at": "2025-09-01T03:40:52.750-07:00"
},
"relationships": {
"incident_retrospective_steps": {
"data": []
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Resource UUID
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": "a818b5f3-f592-4eae-ae38-b5e0729faa31",
"type": "incident_post_mortems",
"attributes": {
"incident_id": "66c1f305-5ea9-4702-a5dd-ccfcc08ffc83",
"title": "Retrospective updated",
"status": "draft",
"url": "https://test.rootly.com/account/post_mortems/commodi-molestiae-sint-repudiandae",
"short_url": null,
"content": null,
"published_at": null,
"started_at": "2025-09-01T03:40:39.986-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-09-01T03:40:40.884-07:00",
"updated_at": "2025-09-01T03:40:52.750-07:00"
},
"relationships": {
"incident_retrospective_steps": {
"data": []
}
}
}
}