Close Postmortem
curl --request POST \
--url http://{host}:{port}/{basePath}/postmortems/{name}/close \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"reviewer": "carlos.silva@empresa.com",
"notes": "All action items assigned. Root cause verified. Approved for compliance archive."
}
'{
"apiVersion": "v1",
"kind": "PostMortem",
"metadata": {
"name": "PM-20260319-001",
"namespace": "production"
},
"status": {
"state": "Closed",
"reviewer": "carlos.silva@empresa.com",
"closedAt": "2026-03-19T18:00:00Z",
"notes": "All action items assigned. Root cause verified. Approved for compliance archive."
}
}
PostMortems
Close PostMortem
Closes a postmortem after review, marking it as finalized and accepted by the team
POST
/
postmortems
/
{name}
/
close
Close Postmortem
curl --request POST \
--url http://{host}:{port}/{basePath}/postmortems/{name}/close \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"reviewer": "carlos.silva@empresa.com",
"notes": "All action items assigned. Root cause verified. Approved for compliance archive."
}
'{
"apiVersion": "v1",
"kind": "PostMortem",
"metadata": {
"name": "PM-20260319-001",
"namespace": "production"
},
"status": {
"state": "Closed",
"reviewer": "carlos.silva@empresa.com",
"closedAt": "2026-03-19T18:00:00Z",
"notes": "All action items assigned. Root cause verified. Approved for compliance archive."
}
}
Unique postmortem name (e.g.,
PM-20260319-001)Kubernetes namespace
Identifier of the person closing the postmortem
Final notes or summary of the review outcome
PostMortem Lifecycle
Auto-generated (on incident resolution)
↓
State: Open
↓
POST /review → State: InReview
↓
POST /close → State: Closed (terminal)
{
"apiVersion": "v1",
"kind": "PostMortem",
"metadata": {
"name": "PM-20260319-001",
"namespace": "production"
},
"status": {
"state": "Closed",
"reviewer": "carlos.silva@empresa.com",
"closedAt": "2026-03-19T18:00:00Z",
"notes": "All action items assigned. Root cause verified. Approved for compliance archive."
}
}
{
"apiVersion": "v1",
"kind": "Error",
"error": {
"code": 409,
"message": "PostMortem already closed",
"details": "The postmortem 'PM-20260319-001' was already closed at 2026-03-19T18:00:00Z"
}
}
Authorizations
Bearer token issued by the operator. Format: Authorization: Bearer <token>.
Path Parameters
Unique postmortem name.
Example:
"PM-20260319-001"
Query Parameters
Kubernetes namespace.
Body
application/json
⌘I