> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Set a document's status

PATCH`/project/doc/{docId}/status`

Move the document to another status, under the same rules as the status picker in the app.

## Path Parameters

`docId`

numberrequired

## Response

200

**cURL**

```bash
curl --request PATCH \
  --url 'https://api.workover.io/project/doc/{docId}/status' \
  --header 'Content-Type: application/json' \
  --data '{}'
```

**JavaScript**

```javascript
const options = {
  method: 'PATCH',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({})
};

fetch('https://api.workover.io/project/doc/{docId}/status', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/project/doc/{docId}/status"

payload = {}

response = requests.patch(url, json=payload)

print(response.text)
```
