# Delete Website DELETE https://fai.buildwithfern.com/sources/website/{domain}/delete Content-Type: application/json Delete all pages from a specific website by base URL. Reference: https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/delete-website ## OpenAPI Specification ```yaml openapi: 3.1.1 info: title: Delete Website version: endpoint_website.delete_website paths: /sources/website/{domain}/delete: delete: operationId: delete-website summary: Delete Website description: Delete all pages from a specific website by base URL. tags: - - subpackage_website parameters: - name: domain in: path required: true schema: type: string - name: Authorization in: header description: >- Bearer authentication of the form `Bearer `, where token is your auth token. required: true schema: type: string responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/DeleteWebsiteResponse' '422': description: Validation Error content: {} requestBody: content: application/json: schema: $ref: '#/components/schemas/DeleteWebsiteRequest' components: schemas: DeleteWebsiteRequest: type: object properties: base_url: type: string description: >- The base URL of the website to delete (deletes all pages from this source) required: - base_url DeleteWebsiteResponse: type: object properties: success: type: boolean description: Whether the website was successfully deleted pages_deleted: type: integer description: Number of pages deleted required: - success - pages_deleted ```