StatusDashboard
DashboardsSingle Sign-On

Toggle SSO

Enable or disable SSO enforcement for a dashboard without changing the provider configuration.

View Markdown

PATCH /app/dashboards/{id}/sso

Enables or disables SSO enforcement for a dashboard. This does not modify the provider configuration — it only controls whether unauthenticated visitors are redirected to sign in. Requires the SSO feature entitlement.

Returns 409 if you attempt to enable SSO when no provider has been configured. Save a provider first using the Configure SSO provider endpoint.


Path parameters

ParameterDescription
idThe UUID of the dashboard.

Request

See API Basics for required headers.

Request body

FieldTypeRequiredDescription
enabledbooleanYestrue to enforce SSO for visitors; false to disable enforcement.

Sample request

curl -X PATCH https://api.statusdashboard.com/app/dashboards/a1b2c3d4-e5f6-7890-abcd-ef1234567890/sso \
  -H "Authorization: Bearer bcf847abf5c6:def456" \
  -H "Content-Type: application/json" \
  -d '{ "enabled": true }'

Sample response

Status: 200 OK

{
  "enabled": true
}

Error responses

StatusWhen
400Validation error.
403SSO feature not enabled on the plan.
404Dashboard not found or does not belong to the caller's organization.
409Cannot enable SSO: no provider is configured. Save a provider first.

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.