---
title: "Update Case"
method: PATCH
path: "/mr/api/v1/cases/{id}"
tags: ["Cases"]
---

# Update Case

`PATCH /mr/api/v1/cases/{id}`

This endpoint allows updating details of an existing medical case using the case ID.

## Path parameters

- `id` string, required

## Headers

- `X-Pt-Id` string, required

## Request body

- object
  - `display_name` string — Human-readable name for the case
  - `hi_type` 'OPConsultation' | 'Prescription' | 'DischargeSummary' | 'DiagnosticReport' | 'ImmunizationRecord' | 'HealthDocumentRecord' | 'WellnessRecord' — Type of case
  - `type` string — Type of the case
  - `occurred_at` integer — Timestamp when the event occurred (Unix timestamp)
  - `partner_meta` object — metadata attached to the case.

## Response `204`

Case updated successfully (no content)

## Other responses

- `400` — Bad request (missing/invalid fields)
- `401` — Unauthorized - Invalid token
- `404` — Case not found – the specified case ID does not exist
- `500` — Internal server error

---

[API](https://skmtc.net/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.net/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/revisions/9ea23456f722/schema)
