---
title: "Changes project's state according state rules (see documenatation)."
method: PUT
path: "/api/v1/project/state"
tags: ["Project"]
---

# Changes project's state according state rules (see documenatation).

`PUT /api/v1/project/state`

## Request

- Base URL: `https://api.approval.studio` (the document declares no server; this is the origin it was published from)
- URL: `https://api.approval.studio/api/v1/project/state`
- Auth: API key in header `Authorization`

## Request body

- EditProjectStateRequest
  - `projectUID` string, nullable
  - `projectState` 0 | 1 | 2 | 3 | 4

## Response `200`

OK

- ApiResponse
  - `version` string, nullable
  - `statusCode` integer
  - `message` string, nullable
  - `isError` boolean, nullable
  - `responseException` unknown
  - `result` unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `406`: Not Acceptable
- `412`: Precondition Failed
- `500`: Internal Server Error

---

[API](https://skmtc.dev/approval/apis/public-api.md) · [All operations](https://skmtc.dev/approval/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/approval/apis/public-api/revisions/acf217b75f2a?raw)
