---
title: "Changes status for a list of cases"
method: POST
path: "/cases/batchStatusChange"
tags: ["Case"]
---

# Changes status for a list of cases

`POST /cases/batchStatusChange`

## Request body

- union
  - object
    - `caseIds` string[], required — Cases having IDs provided here will have their status changed to one specified in status field.
    - `status` 'UNVERIFIED' | 'VERIFIED' | 'EXCLUDED', required
    - `query` string — Cases matching this query will have their status changed. Must contain non-whitespace characters.
    - `note` string — The reason behind exclusion (or other important info). This field is ignored if a status is not "Excluded".
  - object
    - `caseIds` string[] — Cases having IDs provided here will have their status changed to one specified in status field.
    - `status` 'UNVERIFIED' | 'VERIFIED' | 'EXCLUDED', required
    - `query` string, required — Cases matching this query will have their status changed. Must contain non-whitespace characters.
    - `note` string — The reason behind exclusion (or other important info). This field is ignored if a status is not "Excluded".

## Response `200`

OK

## Other responses

- `400` — Malformed request
- `422` — Unprocessable entity
- `500` — Internal server error

---

[API](https://skmtc.net/globaldothealth/apis/global-health-curator-service-api.md) · [All operations](https://skmtc.net/globaldothealth/apis/global-health-curator-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/globaldothealth/global-health-curator-service-api/versions/5b1151265235/schema)
