edjx domain create

Creates a Full or CNAME domain.

Default domain type is Full.

Usage

edjx domain create <name> <description>
[    --cname]
[-o, --organization <organization-UUID>]

Options

Option Required Type Description

<name>

Yes

string

Name of the domain.

<description>

Yes

string

Description of the domain. If description contains a string of words/values, the string MUST contain open and close prenthesis (" ") around the string.
For example, "new domain".

--cname

No

Sets the domain type to CNAME.

-o, --organization <oganization-UUID>

No

UUID

The organization UUID to associate with the domain. Overrides the current organization.

Global Flags

Option Required Type Description

-h, --help

No

Displays inline help for the command.

--config <file-location>

No

string

Location of client configuration file (default file path is $HOME/.edjx/.edjx.yaml).

Create a Full domain

To create a Full domain:

  1. View the current organization.

    edjx show selected-organization
  2. Execute the create command.

    edjx domain create <name> "<description>"

Create a Full domain for a specific organization

To create a Full domain for a specific organization:

  1. List the organizations associated with the current user.

    edjx organization list
  2. Copy the UUID of the organization to associate with the domain.

  3. Execute the create command, pasting the organization-UUID after the -o flag.

    edjx domain create <name> "<description>" -o <organization-UUID>

Create a CNAME domain

To create a CNAME domain:

  1. View the current organization.

    edjx show selected-organization
  2. Execute the create command.

    edjx domain create <name> "<description>" --cname

Create a CNAME domain for a specific organization

To create a full domain for a specific organization:

  1. List the organizations associated with the current user.

    edjx organization list
  2. Copy the UUID of the organization to associate with the domain.

  3. Execute the create command, pasting the organization-UUID after the -o flag.

    edjx domain create <name> "<description>" --cname -o <organization-UUID>