Bulk Delete
curl --request POST \
--url https://api.cludo.com/api/v4/{customerId}/index/{crawlerId}/documents/bulk-delete \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"Url": {
"operator": "Eq",
"values": [
"https://www.cludo.com"
]
},
"Date_date": {
"operator": "Gte",
"values": [
"2023/07/19"
]
}
}
'import requests
url = "https://api.cludo.com/api/v4/{customerId}/index/{crawlerId}/documents/bulk-delete"
payload = {
"Url": {
"operator": "Eq",
"values": ["https://www.cludo.com"]
},
"Date_date": {
"operator": "Gte",
"values": ["2023/07/19"]
}
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
Url: {operator: 'Eq', values: ['https://www.cludo.com']},
Date_date: {operator: 'Gte', values: ['2023/07/19']}
})
};
fetch('https://api.cludo.com/api/v4/{customerId}/index/{crawlerId}/documents/bulk-delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
Url: {operator: 'Eq', values: ['https://www.cludo.com']},
Date_date: {operator: 'Gte', values: ['2023/07/19']}
})
};
fetch('https://api.cludo.com/api/v4/{customerId}/index/{crawlerId}/documents/bulk-delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"deleted": 123,
"failed": 123,
"reason": "<string>"
}{
"message": "The request could not be processed. Check the request body and required parameters."
}{
"message": "unauthorized"
}{
"status": "InternalServerError",
"code": 500,
"messages": [
"Error occur. Please contact support with error ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890"
]
}Documents
Bulk Delete
Deletes documents matching a set of filter predicates.
POST
/
api
/
v4
/
{customerId}
/
index
/
{crawlerId}
/
documents
/
bulk-delete
Bulk Delete
curl --request POST \
--url https://api.cludo.com/api/v4/{customerId}/index/{crawlerId}/documents/bulk-delete \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"Url": {
"operator": "Eq",
"values": [
"https://www.cludo.com"
]
},
"Date_date": {
"operator": "Gte",
"values": [
"2023/07/19"
]
}
}
'import requests
url = "https://api.cludo.com/api/v4/{customerId}/index/{crawlerId}/documents/bulk-delete"
payload = {
"Url": {
"operator": "Eq",
"values": ["https://www.cludo.com"]
},
"Date_date": {
"operator": "Gte",
"values": ["2023/07/19"]
}
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
Url: {operator: 'Eq', values: ['https://www.cludo.com']},
Date_date: {operator: 'Gte', values: ['2023/07/19']}
})
};
fetch('https://api.cludo.com/api/v4/{customerId}/index/{crawlerId}/documents/bulk-delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
Url: {operator: 'Eq', values: ['https://www.cludo.com']},
Date_date: {operator: 'Gte', values: ['2023/07/19']}
})
};
fetch('https://api.cludo.com/api/v4/{customerId}/index/{crawlerId}/documents/bulk-delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"deleted": 123,
"failed": 123,
"reason": "<string>"
}{
"message": "The request could not be processed. Check the request body and required parameters."
}{
"message": "unauthorized"
}{
"status": "InternalServerError",
"code": 500,
"messages": [
"Error occur. Please contact support with error ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890"
]
}Authorizations
Basic authentication. Use your Customer ID as the username and API Key as the password. Example header: Authorization: Basic MTIzNDU2NzpteS1hcGkta2V5.
Path Parameters
Your Cludo Customer ID (same as in MyCludo and Basic auth username).
Crawler (content source) ID from MyCludo.
Body
application/json
Filter predicates keyed by indexed field name — use the same field names you set inside fields when pushing documents (e.g. Title, Url, Category, Date). Each value describes a comparison. Multiple filters are combined with logical AND.
Show child attributes
Show child attributes
Was this page helpful?

