You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/workos/organizations.ex
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,9 @@ defmodule WorkOS.Organizations do
81
81
Parameter options:
82
82
83
83
* `:name` - A descriptive name for the Organization. This field does not need to be unique. (required)
84
-
* `:domain_data` - The domains of the Organization.
84
+
* `:domain_data` - A list of maps containing domain information composed of the following:
85
+
* `:domain` - The domain of the Organization
86
+
* `:state` - The verification state of the domain. "pending" | "verified"
85
87
* `:allow_profiles_outside_organization` - Whether the Connections within this Organization should allow Profiles that do not have a domain that is present in the set of the Organization’s User Email Domains.
86
88
* `:idempotency_key` - A unique string as the value. Each subsequent request matching this unique string will return the same response.
87
89
@@ -112,7 +114,9 @@ defmodule WorkOS.Organizations do
112
114
113
115
* `:organization` - Unique identifier of the Organization. (required)
114
116
* `:name` - A descriptive name for the Organization. This field does not need to be unique. (required)
115
-
* `:domain_data` - The domains of the Organization.
117
+
* `:domain_data` - A list of maps containing domain information composed of the following:
118
+
* `:domain` - The domain of the Organization
119
+
* `:state` - The verification state of the domain. "pending" | "verified"
116
120
* `:allow_profiles_outside_organization` - Whether the Connections within this Organization should allow Profiles that do not have a domain that is present in the set of the Organization’s User Email Domains.
0 commit comments