Skip to content

Commit fc02f5e

Browse files
authored
Document allow_profiles_outside_organization (#89)
1 parent e0c6fab commit fc02f5e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

workos/organizations.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,11 @@ def create_organization(self, organization):
6868
6969
Args:
7070
organization (dict) - An organization object
71-
organization[domains] (list) - List of domains that belong to the organization
7271
organization[name] (str) - A unique, descriptive name for the organization
72+
organization[allow_profiles_outside_organization] (boolean) - Whether Connections
73+
within the Organization allow profiles that are outside of the Organization's
74+
configured User Email Domains. (Optional)
75+
organization[domains] (list) - List of domains that belong to the organization
7376
7477
Returns:
7578
dict: Created Organization response from WorkOS.
@@ -87,6 +90,9 @@ def update_organization(self, organization, name, domains=None):
8790
Args:
8891
organization(str) - Organization's unique identifier.
8992
name (str) - A unique, descriptive name for the organization.
93+
organization[allow_profiles_outside_organization] (boolean) - Whether Connections
94+
within the Organization allow profiles that are outside of the Organization's
95+
configured User Email Domains. (Optional)
9096
domains (list) - List of domains that belong to the organization. (Optional)
9197
9298
Returns:

0 commit comments

Comments
 (0)