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โ€‹