space

delete

Deletes a space with the given ID.

maas$PROFILEspacedelete[--help][-d][-k]id

Positional arguments

Argument

Effect

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

read

Gets a space with the given ID.

maas$PROFILEspaceread[--help][-d][-k]id

Positional arguments

Argument

Effect

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

update

Updates a space with the given ID.

maas$PROFILEspaceupdate[--help][-d][-k]id[data...]

Positional arguments

Argument

Effect

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword "name"

Optional String. The name of the new space.

Keyword "description"

Optional String. A description of the new space.

Note: This command accepts JSON.

spaces create

Create a new space.

maas$PROFILEspacescreate[--help][-d][-k][data...]

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword "name"

Optional String. The name of the new space.

Keyword "description"

Optional String. A description of the new space.

Note: This command accepts JSON.

spaces read

Generates a list of all spaces.

maas$PROFILEspacesread[--help][-d][-k]

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.