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

# Replace a document's content

POST`/project/doc/{docId}/content`

Replace the body of a document, or of one of its tabs, with no review. Use suggestions for changes a person should review.

## Path Parameters

`docId`

stringrequired

## Response

201

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/project/doc/{docId}/content'
```

**JavaScript**

```javascript
const options = {
  method: 'POST'
};

fetch('https://api.workover.io/project/doc/{docId}/content', 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}/content"

response = requests.post(url)

print(response.text)
```
