space:list#

List the active team’s spaces (with names, IDs, and other details). By default, only spaces with a status of Online are included.

Usage

horizon space:list [options]

Examples

# List the team's online spaces
horizon space:list

# List the team's spaces in every status
horizon space:list --status="all"

# List online spaces in a specific data center
horizon space:list --datacenter="us-ashburn-1"

Options

This command supports the general CLI options in addition to those listed below.

--status=STATUS, -s STATUS

Show only the spaces with the specified status (default: online). Pass all to include every status.

Repeatable—To specify multiple statuses, pass this option once per status.

--owner=OWNER, -o OWNER

Show only the spaces owned by the specified team member. OWNER can be the team member’s ID or name.

Repeatable—To specify multiple owners, pass this option once per owner.

--datacenter=DATACENTER, -d DATACENTER

Show only the spaces in the specified data center. DATACENTER can be the data center’s ID, name, or key, which you can obtain with datacenter:list.

Repeatable—To specify multiple data centers, pass this option once per data center.