Skip to content

Commit 880394f

Browse files
Update documentation to reflect changes
1 parent f9564dc commit 880394f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/workos/organizations.ex

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ defmodule WorkOS.Organizations do
8181
Parameter options:
8282
8383
* `: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"
8587
* `: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.
8688
* `:idempotency_key` - A unique string as the value. Each subsequent request matching this unique string will return the same response.
8789
@@ -112,7 +114,9 @@ defmodule WorkOS.Organizations do
112114
113115
* `:organization` - Unique identifier of the Organization. (required)
114116
* `: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"
116120
* `: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.
117121
118122
"""

0 commit comments

Comments
 (0)