Skip to main content

remove

unbind a path prefix from a deployment

Usage​

csph environments domain-path remove [flags]

Aliases​

environments domain-path remove, environments domain-path rm, environments path remove, environments path rm, env domain-path remove, env domain-path rm, env path remove, env path rm, envs domain-path remove, envs domain-path rm, envs path remove, envs path rm, environment domain-path remove, environment domain-path rm, environment path remove, environment path rm

Options​

Command Specific​

--deployment <string>
deployment ID
--domain <string>
custom domain (hostname)
--environment <string>
environment ID
--path <string>
path

Formatting​

For more information about formatting options, see Formatting.

-o, --output <string>

output format: [table|plain|csv|json|yaml]

Inherited​

--config <string>
config file (default is $HOME/.config/computesphere/configuration.yaml)
--debug
enable debug logging

-h, --help

show this help message

-i, --interactive

run interactively (prompts, pickers, table browser)
--log-level <string>
log level: [trace|debug|info|warn|error|fatal|panic|disabled||api]
--no-color
disable color output
--no-input
disable interactive mode

Examples​

# remove the /api path mapping on the default domain
> csph environments domain-path remove --deployment <id> --path /api

# remove the /api mapping on a specific custom domain
> csph environments domain-path remove --deployment <id> --path /api --domain api.example.com

See also​