Update Postmortem By Incident
PUT {{baseUrl}}/incidents/:incidentID/postmortem
- This endpoint is used to get all postmortems.
- Requires
access_token
as aBearer {{token}}
in theAuthorization
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
{"data":{"id":"65548d9d9df7a39002c9e7f5","organization_id":"60cb200bc9de4a0008d2fc41","incident_id":"65548cfa8afbcb037a43737b","postmortem":"### This is the title","follow_ups":[{"task":"need to do","is_done":true}],"created_at":"2023-11-15T09:21:33.611Z","title":"test incident","status":"published","owner":{"id":"62442e4182c4725938208e11","type":"team"},"access_control":[],"attachments":[]}}