Remove target accounts
curl --request DELETE \
--url https://api.letterdrop.com/api/v2/target-accounts \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"company_domains": [
"globex.com"
]
}
'const options = {
method: 'DELETE',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({company_domains: ['globex.com']})
};
fetch('https://api.letterdrop.com/api/v2/target-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letterdrop.com/api/v2/target-accounts"
payload = { "company_domains": ["globex.com"] }
headers = {
"api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){
"data": {
"removed": 1,
"removed_ids": [
"6a1f0c2e9b1d4c0012ab34ce"
],
"skipped": []
},
"meta": {
"api_version": "2",
"data_as_of": "2026-11-02T09:36:28.016Z",
"cache": "off"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}Target accounts
Remove target accounts
Remove companies by id, domain or company page URL. Accounts synced from a CRM are skipped (they would come back on the next sync); remove them in the CRM. Contacts already found at a removed company are kept.
DELETE
/
target-accounts
Remove target accounts
curl --request DELETE \
--url https://api.letterdrop.com/api/v2/target-accounts \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"company_domains": [
"globex.com"
]
}
'const options = {
method: 'DELETE',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({company_domains: ['globex.com']})
};
fetch('https://api.letterdrop.com/api/v2/target-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letterdrop.com/api/v2/target-accounts"
payload = { "company_domains": ["globex.com"] }
headers = {
"api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){
"data": {
"removed": 1,
"removed_ids": [
"6a1f0c2e9b1d4c0012ab34ce"
],
"skipped": []
},
"meta": {
"api_version": "2",
"data_as_of": "2026-11-02T09:36:28.016Z",
"cache": "off"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}Body
application/json