StatusDashboard
DashboardsSubscriptions

Update email domain allowlist

Replace the allowed email domains for public self-service subscribe on a dashboard.

View Markdown

PUT /app/dashboards/{id}/subscriptions/email-domain-allowlist

Replaces the full domain list for a dashboard without changing the enabled flag. Requires the Email plan capability (emailEnabled).


Path parameters

ParameterDescription
idThe UUID of the dashboard.

Request

See API Basics for required headers.

Request body

FieldTypeDescription
domainsstring[]Normalized lowercase FQDNs (e.g. company.com, mail.company.com). Exact match only — parent domains do not imply subdomains. Max length is your organization limit.

Duplicate domains are rejected with 400.


Sample request

curl -X PUT https://api.statusdashboard.com/app/dashboards/a1b2c3d4-e5f6-7890-abcd-ef1234567890/subscriptions/email-domain-allowlist \
  -H "Authorization: Bearer bcf847abf5c6:def456" \
  -H "Content-Type: application/json" \
  -d '{ "domains": ["gmail.com", "acme.com"] }'

Sample response

Status: 200 OK

{
  "enabled": false,
  "domains": ["gmail.com", "acme.com"],
  "limits": {
    "emailDomainAllowlist": 5
  }
}

Error responses

StatusWhen
400Invalid domain shape, duplicate domain, or malformed JSON
403Domain count exceeds organization limit, or org plan does not include email
404Dashboard not found or not owned by your organization

On this page

We use cookies

We use essential cookies to keep the site working, and optional analytics cookies to understand how it's used. Read our Privacy Policy.