Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

An error occurred while submitting your form. Please try again or file a bug report. Close

space

Enter keyword arguments in the form key=value.

Delete a space

maas $PROFILE space delete [--help] [-d] [-k] id [data ...] 

Positional arguments

  • id

Deletes a space with the given ID.

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

Reads a space

maas $PROFILE space read [--help] [-d] [-k] id [data ...] 

Positional arguments

  • id

Gets a space with the given ID.

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 space

maas $PROFILE space update [--help] [-d] [-k] id [data ...] 

Positional arguments

  • id

Updates a space with the given ID.

Keyword “name”

Required String. The name of the new space.

Keyword “description”

Optional String. A description of the new space.

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

Create a space

maas $PROFILE spaces create [--help] [-d] [-k] [data ...] 

Create a new space.

Keyword “name”

Required String. The name of the new space.

Keyword “description”

Optional String. A description of the new space.

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

List all spaces

maas $PROFILE spaces read [--help] [-d] [-k] [data ...] 

Generates a list of all spaces.

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

Last updated 3 months ago. Help improve this document in the forum.