Update Postmortem By Incident

PUT {{baseUrl}}/incidents/:incidentID/postmortem

  • This endpoint is used to get all postmortems.
  • Requires access_token as a Bearer {{token}} in the Authorization header.

Request Body

{"owner_id"=>"<string>", "title"=>"test incident 5", "postmortem"=>"### This is the title", "follow_ups"=>[{"task"=>"need to do", "is_done"=>true}], "attachments"=>[{"key"=>"<string>", "mime_type"=>"<string>", "file_size"=>"<int>"}], "status"=>"under_review"}

RESPONSES

status: OK

{&quot;data&quot;:{&quot;id&quot;:&quot;65548d9d9df7a39002c9e7f5&quot;,&quot;organization_id&quot;:&quot;60cb200bc9de4a0008d2fc41&quot;,&quot;incident_id&quot;:&quot;65548cfa8afbcb037a43737b&quot;,&quot;postmortem&quot;:&quot;### This is the title&quot;,&quot;follow_ups&quot;:[{&quot;task&quot;:&quot;need to do&quot;,&quot;is_done&quot;:true}],&quot;created_at&quot;:&quot;2023-11-15T09:21:33.611Z&quot;,&quot;title&quot;:&quot;test incident&quot;,&quot;status&quot;:&quot;published&quot;,&quot;owner&quot;:{&quot;id&quot;:&quot;62442e4182c4725938208e11&quot;,&quot;type&quot;:&quot;team&quot;},&quot;access_control&quot;:[],&quot;attachments&quot;:[]}}