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

# Remove one of the AI agent's sources

DELETE`/messenger/{messengerId}/sources/{sourceId}`

The source goes and its hidden docs go to the trash, except any someone edited, which stay as ordinary docs. Removing it again answers `removed: false`.

## Path Parameters

`messengerId`

numberrequired

`sourceId`

numberrequired

## Response

200

**cURL**

```bash
curl --request DELETE \
  --url 'https://api.workover.io/messenger/{messengerId}/sources/{sourceId}'
```

**JavaScript**

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

fetch('https://api.workover.io/messenger/{messengerId}/sources/{sourceId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/messenger/{messengerId}/sources/{sourceId}"

response = requests.delete(url)

print(response.text)
```
