StatusDashboard
DashboardsSubscriptions

Toggle email domain allowlist

Enable or disable email domain allowlist enforcement for public subscribe on a dashboard.

View Markdown

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

Enables or disables the email domain allowlist without replacing the stored domain list. Requires the Email plan capability (emailEnabled).

When enabled with an empty domain list, all public email signups are blocked until at least one domain is added.


Path parameters

ParameterDescription
idThe UUID of the dashboard.

Request

See API Basics for required headers.

Request body

FieldTypeDescription
enabledbooleantrue to enforce the allowlist on public subscribe, false to allow any domain (subject to channel availability).

Sample request

curl -X PATCH 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 '{ "enabled": true }'

Sample response

Status: 200 OK

{
  "enabled": true
}

Error responses

StatusWhen
400Invalid body
403Org 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.