Delete domain
Domains
Delete domain
Remove a domain from your workspace
Delete a domain and all associated resources. This is a destructive operation.
Important Notes
- Campaigns linked to this domain are archived automatically during deletion
- All inboxes associated with the domain will be deleted
- All external resources (DNS, email services) will be cleaned up
- This action cannot be undone
Deletion Modes
archive(default): Campaigns become archived (view-only, permanent)pause_and_detach: Campaigns are paused so they can be resumed later with inboxes from a different domain
Example Usage
import requests
domain_id = "550e8400-e29b-41d4-a716-446655440000"
response = requests.delete(
f"https://api.coldsend.io/api/public/v1/domains/{domain_id}",
headers={"X-API-Key": "your-api-key"},
params={"deletion_mode": "pause_and_detach"}
)
DELETE
Delete domain
Authorizations
API key with format cs_live_xxx
Path Parameters
Query Parameters
How to handle campaigns: 'archive' (view-only) or 'pause_and_detach' (resumable)
Available options:
archive, pause_and_detach 
