cURL
curl --request DELETE \ --url https://api.sendkit.dev/domains/{id} \ --header 'Authorization: Bearer <token>'
{ "message": "Invalid API key." }
Delete a domain from your account. The domain must not have any active senders. All associated DNS records and provider configurations will be cleaned up.
API key from your SendKit dashboard. Pass it as a Bearer token in the Authorization header.
The domain ID.
Domain deleted successfully