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
| Name | Type | Description |
|---|---|---|
| ids array required | array | Domain IDs from list_excluded_domains. |
Request
curl -X DELETE "https://cotlet.dev/api/v1/findymail/excluded-domains?ids=ids" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("findymail", "remove_excluded_domains", {"ids":"ids"}) const result = await cotlet.call('findymail', 'remove_excluded_domains', {"ids":"ids"}); cotlet call findymail remove_excluded_domains --data '{"ids":"ids"}' Example response
{
"success": true,
"deleted_count": 1
}