diff --git a/.changeset/document-organization-self-serve-options.md b/.changeset/document-organization-self-serve-options.md new file mode 100644 index 00000000000..7ec05568f6c --- /dev/null +++ b/.changeset/document-organization-self-serve-options.md @@ -0,0 +1,5 @@ +--- +'@clerk/backend': patch +--- + +Document the self-serve SSO and Directory Sync options for `updateOrganization()`, including their setup requirements. diff --git a/packages/backend/src/api/endpoints/OrganizationApi.ts b/packages/backend/src/api/endpoints/OrganizationApi.ts index 005fb7c29f8..d1ee8d859e2 100644 --- a/packages/backend/src/api/endpoints/OrganizationApi.ts +++ b/packages/backend/src/api/endpoints/OrganizationApi.ts @@ -66,7 +66,15 @@ export type GetOrganizationParams = ( /** @inline */ export type UpdateParams = { + /** + * Lets Organization admins set up enterprise SSO in ``. Requires Clerk + * Organizations to be enabled for the instance and a [Pro or Business plan](/pricing) in production. + */ selfServeSsoEnabled?: boolean; + /** + * Lets Organization admins set up Directory Sync in ``. Requires self-serve + * SSO for the Organization, an SSO connection, and a [Pro or Business plan](/pricing) in production. + */ selfServeDirectorySyncEnabled?: boolean; /** The name to update the Organization with. */ name?: string;