admin

Update Organization Flags

Toggle org-wide boolean flags. Only fields present in the request body are updated.

Side effect: when enabling require_2fa, revoke refresh tokens for any member who has a password on file and lacks 2FA, so they're bounced through forced setup once their current access token expires. SSO-only members (no hashed_password) are untouched — their only auth path is Google, which handles 2FA at the IdP.

post/admin/organization/{organization_uuid}/update_flags

Path parameters

organization_uuidstring required

Cookies

access_tokenstring nullable

Request body

require_2faboolean nullable
public_sharing_disabledboolean nullable
third_party_data_sources_disabledboolean nullable

Response

Successful Response

{"stackTrail":"paths:/admin/organization/{organization_uuid}/update_flags:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.