diff --git a/tests/test_organizations.py b/tests/test_organizations.py index ed43aaad..d41b86ce 100644 --- a/tests/test_organizations.py +++ b/tests/test_organizations.py @@ -248,7 +248,6 @@ def test_update_organization_with_domain_data( updated_organization = self.organizations.update_organization( organization="org_01EHT88Z8J8795GZNQ4ZP1J81T", - name="Example Organization", domain_data=[{"domain": "example.io", "state": "verified"}], allow_profiles_outside_organization=True, ) @@ -275,7 +274,6 @@ def test_update_organization_with_domains( ): updated_organization = self.organizations.update_organization( organization="org_01EHT88Z8J8795GZNQ4ZP1J81T", - name="Example Organization", domains=["example.io"], allow_profiles_outside_organization=True, ) diff --git a/workos/organizations.py b/workos/organizations.py index 818bd436..83e706dc 100644 --- a/workos/organizations.py +++ b/workos/organizations.py @@ -233,7 +233,7 @@ def create_organization(self, organization, idempotency_key=None): def update_organization( self, organization, - name, + name=None, allow_profiles_outside_organization=None, domains=None, domain_data=None, @@ -243,7 +243,7 @@ def update_organization( Args: organization(str) - Organization's unique identifier. - name (str) - A unique, descriptive name for the organization. + name (str) - A unique, descriptive name for the organization. (Optional) allow_profiles_outside_organization (boolean) - [Deprecated] Whether Connections within the Organization allow profiles that are outside of the Organization's configured User Email Domains. (Optional)