Remove excluded domains

Remove domains from an exclusion list by their IDs.

DELETE https://cotlet.dev/api/v1/findymail/excluded-domains

write

Returns success and the number of domains deleted. On a shared list you need the removeDomains permission, and a domain on the global list must be yours. It reaches nobody and the domains can be added again, so it does not wait for your OK.

Parameters

Parameters: remove_excluded_domains
NameTypeDescription
ids array required array Domain IDs from list_excluded_domains.

Request

cURL
curl -X DELETE "https://cotlet.dev/api/v1/findymail/excluded-domains?ids=ids" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("findymail", "remove_excluded_domains", {"ids":"ids"})
Node.js
const result = await cotlet.call('findymail', 'remove_excluded_domains', {"ids":"ids"});
CLI
cotlet call findymail remove_excluded_domains --data '{"ids":"ids"}'

Example response

JSON

{
  "success": true,
  "deleted_count": 1
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.