---
title: "POST /api/v1/project/projects/{id}/set_status/"
method: POST
path: "/api/v1/project/projects/{id}/set_status/"
tags: ["project", "v1"]
---

# POST /api/v1/project/projects/{id}/set_status/

`POST /api/v1/project/projects/{id}/set_status/`

Bulk set status for batch of documents

    Params:
        document_ids: list[int]
        no_document_ids: list[int] - exclude those docs from action (if "all" is set)
        all: any value - update all documents if any value
        status_id: int
    Returns:
        int (number of reassigned documents)

## Path parameters

- `id` string, required

## Request body

- SetProjectDocumentsStatusRequest
  - `status_id` integer, nullable
  - `all` boolean
  - `document_ids` integer[]
  - `no_document_ids` integer[]

## Response `201`

- CountSuccessResponse
  - `success` integer, nullable

---

[API](https://skmtc.net/lexpredict/apis/contraxsuite-api.md) · [All operations](https://skmtc.net/lexpredict/apis/contraxsuite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lexpredict/contraxsuite-api/versions/3429f921b4cb/schema)
