Skip to main content

Add 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 VerifyOrgDomain API before it can be used as an Organization's trusted domain to sign up users.

Path Parameters
    orgId 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

    orgId string

    The organization id

    token string

    The dns TXT record token to verify the domain

    verified boolean

    true if the domain is verified, false otherwise

    createdAt date-time

    The time the domain whitelist request was created

    verifiedAt date-time

    The time the org domain was verified

Loading...