Skip to main content

Set the org's allowed sign-in methods

PUT 

/api/v1/organizations/current/auth-methods

Restrict sign-in methods for the org.

An empty list clears the restriction (platform defaults). To require SSO, set ["sso"]. Not flag-gated — narrowing the platform's own methods is a standard org control; SSO itself only functions once the SSO config is enabled (which IS gated).

Admin/owner only — but enforcing SSO (a non-empty list that excludes all local methods, blocking password/GitHub/Google login) is owner-only per (owner-only capabilities). Admins may relax the restriction or pick a set that still permits a local method.

Request

Responses

Successful Response