provider Organization PUT
/v1/b2b/organizations/{organization_id} @utdk/stytch
/v1/b2b/organizations/{organization_id} Update
Updates an Organization specified by `organization_id`. An Organization must always have at least one auth setting set to either `RESTRICTED` or `ALL_ALLOWED` in order to provision new Members.
*See the [Organization authentication settings](https://stytch.com/docs/b2b/api/org-auth-settings) resource to learn more about fields like `email_jit_provisioning`, `email_invites`, `sso_jit_provisioning`, etc., and their behaviors.
- organization_id path required
- Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug or organization_external_id here as a convenience.
- string
- X-Stytch-Member-Session header
- A Stytch session that can be used to run the request with the given member's permissions.
- string
- X-Stytch-Member-SessionJWT header
- A Stytch Session JSON Web Token (JWT) that can be used to run the request with the given member's permissions.
- string
Try it
Authentication
Configure credentials for Stytch API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stytch from '@utdk/stytch';
await stytch.apiOrganizationV1Update()