Skip to main content

Mass Environment Default

mass environment default​

Set an environment default connection

Synopsis​

Set Environment Default

Sets a resource as the default connection for an environment.

Usage​

shell
mass environment default [environment] [resource-id]

Arguments​

  • environment: Environment ID or slug
  • resource-id: Resource ID to set as default

Examples​

shell
# Set a resource as default for an environment
mass env default api-prod abc123-def456
mass environment default [environment] [resource-id] [flags]

Options​

  -h, --help   help for default

Options inherited from parent commands​

      --profile string   Configuration profile to use (overrides MASSDRIVER_PROFILE and the active profile)

SEE ALSO​