---
title: "Updated case"
method: PATCH
path: "/case/{caseId}"
tags: ["case"]
---

# Updated case

`PATCH /case/{caseId}`

## Path parameters

- `caseId` number, required

## Request body

- Case
  - `id` number, required
  - `name` string, required — Name of case
  - `comment` string — Comment available for team
  - `tag` string[] — List of tag which apply to case
  - `auditedInstitution` object[] — List of audited institution
    - `id` string, objectId
    - `user` number
  - `responsibleUser` UserRef[] — List of users responsible for the case
    - `id` string, objectId
    - `user` number
  - `notifiedUser` UserRef[] — List of users which receive notifications
    - `id` string, objectId
    - `user` number
  - `matrix` object[] — Structure to collect statistical information in relation to Dictionary
    - `id` number
    - `dictionary` string, dictionaryId
    - `values` string[]
  - `letterCount` number — Count of letter in case
  - `noteCount` number — Count of note in case

## Response `200`

Expected response to a valid request

- Case
  - `id` number, required
  - `name` string, required — Name of case
  - `comment` string — Comment available for team
  - `tag` string[] — List of tag which apply to case
  - `auditedInstitution` object[] — List of audited institution
    - `id` string, objectId
    - `user` number
  - `responsibleUser` UserRef[] — List of users responsible for the case
    - `id` string, objectId
    - `user` number
  - `notifiedUser` UserRef[] — List of users which receive notifications
    - `id` string, objectId
    - `user` number
  - `matrix` object[] — Structure to collect statistical information in relation to Dictionary
    - `id` number
    - `dictionary` string, dictionaryId
    - `values` string[]
  - `letterCount` number — Count of letter in case
  - `noteCount` number — Count of note in case

## Other responses

- `default` — unexpected error

---

[API](https://skmtc.dev/watchdogpolska/apis/small-eod.md) · [All operations](https://skmtc.dev/watchdogpolska/apis/small-eod/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/watchdogpolska/small-eod/revisions/6da2ffa964ee/schema)
