Delete pages by URLs or patterns
DELETE
/api/v3/organisations/{organisation}/projects/{project}/ai-search/pages
const url = 'https://dashboard.quantcdn.io/api/v3/organisations/example/projects/example/ai-search/pages';const options = { method: 'DELETE', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"urls":["https://example.com"],"patterns":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://dashboard.quantcdn.io/api/v3/organisations/example/projects/example/ai-search/pages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "urls": [ "https://example.com" ], "patterns": [ "example" ] }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
project
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
urls
Array<string>
patterns
Array<string>
Examplegenerated
{ "urls": [ "https://example.com" ], "patterns": [ "example" ]}Responses
Section titled “Responses”Deleted
