Environment Deletion (ssd api-management delete environment)

The ssd api-management delete environment command allows you to delete an environment from Sensedia API Platform.

You can use the ssd api-management delete environment command or its shortened version ssd apim delete environment.

Usage

The ssd api-management delete environment command can be followed by specific flags, as in the examples below:

ssd api-management delete environment [flags]

If no flag is specified, the interactive mode will be activated.

# Deletes an environment
$ ssd (api-management | apim) delete environment --id 111
$ ssd (api-management | apim) delete environment --name "My Environment"

# Deletes an environment skipping the confirmation step
$ ssd (api-management | apim) delete environment --id 111 -y
$ ssd (api-management | apim) delete environment --name "My Environment" -y

Available Flags

Flag

Type

Description

-h, --help

Displays help for the command

-i, --id

int

Environment’s ID

-n, --name

string

Environment’s name

-y, --yes

Skips the confirmation step

Global Flags

Flag

Type

Description

-c, --config

string

Configuration file (default: $HOME/.sensedia/config.json)

--profile

string

The configuration profile you want to use (default: "default")

--verbose

Lists all requests made by the command. It is possible to store this information in a TXT file instead of displaying it on the terminal. E.g.: $ ssd (api-management | apim) list apis --verbose 2> log.txt

Declarative Mode

It is possible to delete an environment using a .yaml file with the declarative mode. Learn more.
Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]