Skip to main content

Create org domain

Add a domain to an organization which if verified allows all users of the same domain to be signed up to the organization without invitation. This API generates a verification token for a domain which must be added to your domain's DNS provider as a TXT record should be verified with Frontier VerifyOrganizationDomain API before it can be used as an Organization's trusted domain to sign up users.

Path Parameters
    org_id string required

    unique id of the organization for which whitelisted domains are to be added

Request Body required
    domain string required

    domain name to be added to the trusted domain list

Responses

A successful response.


Schema
    domain object
    id string

    The domain id

    name string

    The domain name

    org_id string

    The organization id

    token string

    The dns TXT record token to verify the domain

    state string

    The domain state either pending or verified

    created_at date-time

    The time the domain whitelist request was created

    updated_at date-time

    The time the org domain was updated

Loading...