Delete Contacts Bulk
DELETE
https://x.kupe.in
/
v1
/
batches
/
{batch_id}
/
contacts:bulk
Delete Contacts Bulk
import requests
url = "https://x.kupe.in/v1/batches/{batch_id}/contacts:bulk"
payload = { "contact_ids": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({contact_ids: ['<string>']})
};
fetch('https://x.kupe.in/v1/batches/{batch_id}/contacts:bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://x.kupe.in/v1/batches/{batch_id}/contacts:bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contact_ids": [
"<string>"
]
}
'{
"deleted": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}⌘I
Delete Contacts Bulk
import requests
url = "https://x.kupe.in/v1/batches/{batch_id}/contacts:bulk"
payload = { "contact_ids": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({contact_ids: ['<string>']})
};
fetch('https://x.kupe.in/v1/batches/{batch_id}/contacts:bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://x.kupe.in/v1/batches/{batch_id}/contacts:bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contact_ids": [
"<string>"
]
}
'{
"deleted": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}
