Delete Documents
Delete the documents of a domain, narrowed by the provided filters. Filters are combined with AND, so a document is
only deleted when it matches all of them. At least one filter is required, or pass all=true to delete every
document. The x-fern-basepath header narrows the deletion to a single basepath.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
The basepath of the docs site that the document belongs to, e.g. /plants for a site served at docs.example.com/plants. Omit this for sites served at the root of the domain. Documents are only retrieved by Ask Fern on the site matching the domain and basepath they were created with.
Query parameters
Delete every document in the domain and basepath. Cannot be combined with the product, version or url_prefix filters.