View Source WorkOS.OrganizationDomains (WorkOS SDK for Elixir v1.1.0)
Manage Organization Domains in WorkOS.
Summary
Functions
Creates an organization domain.
Gets an organization domain given an ID.
Verifies an organization domain
Functions
@spec create_organization_domain(WorkOS.Client.t(), map()) :: WorkOS.Client.response(WorkOS.OrganizationDomains.OrganizationDomain.t())
Creates an organization domain.
Parameter options:
:organization_id
- ID of the parent Organization. (required):domain
- Domain for the Organization Domain. (required)
Link to this function
get_organization_domain(client \\ WorkOS.client(), organization_domain_id)
View Source@spec get_organization_domain(WorkOS.Client.t(), String.t()) :: WorkOS.Client.response(WorkOS.OrganizationDomains.OrganizationDomain.t())
Gets an organization domain given an ID.
Link to this function
verify_organization_domain(client \\ WorkOS.client(), organization_domain_id)
View Source@spec verify_organization_domain(WorkOS.Client.t(), String.t()) :: WorkOS.Client.response(WorkOS.OrganizationDomains.OrganizationDomain.t())
Verifies an organization domain