# Delete website knowledge

> Deletes a website from the team's knowledge library, for every line of the team. To stop only this line using it, disable it instead.

`DELETE /v2/api/numbers/{number}/agent/knowledge/websites/{id}`

<Note>
**Required scope:** `AGENTS_WRITE`
</Note>

## Behavior

Deletes a website from your team's knowledge library, along with the text crawled from it. It is removed for every line of the team, not only this one. Returns `204` with no body.

To stop only this line using a website, [disable it](/docs/agent/update-website-knowledge) instead.

## Errors

- `404 AGENT_KNOWLEDGE_NOT_FOUND`: this line does not use a website with that id. A file id sent here answers the same way.
- `404 PHONE_NUMBER_NOT_FOUND`: the number is not one you have access to.
