---
title: "Update a case"
method: PUT
path: "/cases/{id}"
tags: ["Cases"]
---

# Update a case

`PUT /cases/{id}`

## Request

- Base URL: `https://hoghogh.ai/api/v1`
- URL: `https://hoghogh.ai/api/v1/cases/{id}`
- Auth: HTTP bearer

## Request body

- Case
  - `id` string, uuid
  - `user_id` string, uuid
  - `title` string
  - `client_name` string, nullable
  - `case_number` string, nullable
  - `status` 'active' | 'pending' | 'closed' | 'archived'
  - `case_type` string, nullable
  - `description` string, nullable
  - `next_hearing` string, date-time, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Response `200`

Updated case

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/hoghogh/apis/chistara-api.md) · [All operations](https://skmtc.dev/hoghogh/apis/chistara-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hoghogh/apis/chistara-api/revisions/457df37a06f7?raw)
