Delete Domain

Remove a custom domain

DELETE/domains/{domain_id}
Requires Bearer authentication

Remove a custom domain from your organization. This will also revoke the SSL certificate.

Path Parameters

domain_idstringrequired

The unique identifier of the domain to delete.

DELETE/domains/{domain_id}
curl -X DELETE "https://api.vastal.agency/v1/domains/dom_abc123" \
-H "Authorization: Bearer YOUR_API_KEY"
200Success
{
"success": true,
"message": "Domain deleted successfully"
}