> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. # Delete All Websites DELETE https://fai.buildwithfern.com/sources/website/{domain}/delete-all Delete all indexed website pages for a domain. Reference: https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/delete-all-websites ## Authentication - `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer `, where token is your auth token. ## Servers - `https://fai.buildwithfern.com` (Production, default) - `https://fai-dev.buildwithfern.com` (Development) - `http://localhost:8080` (Local) ## Request ### Path parameters - `domain` (string, required) ## Response ### 200 Successful Response - `success` (boolean, required) — Whether all websites were successfully deleted - `pages_deleted` (integer, required) — Total number of pages deleted ## Errors ### 422 Unprocessable Entity Error Validation Error - `detail` (list of object, optional) - `loc` (list of string or integer, required) - `msg` (string, required) - `type` (string, required) ## Examples **Request** ```json {} ``` **Response** ```json { "success": true, "pages_deleted": 42 } ```