curl -X GET https://cp.gosentrix.io/api/v1/tenants/{tenant_id}/domains \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Manage custom domains for your tenant
curl -X POST https://cp.gosentrix.io/api/v1/tenants/{tenant_id}/domains \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "domain": "app.example.com" }'
curl -X DELETE https://cp.gosentrix.io/api/v1/tenants/{tenant_id}/domains/{domain_id}?confirm_decommission=true&confirm_delete=true \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"