Single sign-on
Update security policies
Changed onSet the organization's security policies: whether members must have two-factor authentication or log in with its single sign-on (requireTwoFactor; members who don't get TWO_FACTOR_REQUIRED from the organization's endpoints until they do), and the email domains people must have to be invited or join (allowedEmailDomains, empty for any; current members stay). Requiring two-factor authentication needs the caller to meet it. Requires the sso: ["manage"] permission (owners)
put/api/v1/organizations/{organizationId}/security-policy
Request
- Base URLhttps://app.easyscraper.com
- URLhttps://app.easyscraper.com/api/v1/organizations/{organizationId}/security-policy
- AuthAPI key in cookie better-auth.session_token
Path parameters
organizationIdstring uuid required
Request body
Response
OK
Changes
- breaking
added
subschema #1to the response bodyoneOflist for the response status
- breaking
- info
endpoint added
- info