API undeployment (ssd api-management undeploy api)

The ssd api-management undeploy api command allows you to undeploy an API (i.e., from an environment) on Sensedia API Platform.

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

Usage

The ssd api-management undeploy api command must be followed by flags with their respective arguments:

ssd api-management undeploy api [flags]

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

You must specify the environment from which you want to undeploy the API and which revision will be undeployed. Example:

$ ssd api-management undeploy api "open banking" --api-version 1.0.0 --environment "production"

Available flags

The following flags can be used with the ssd api-management undeploy api command:

Flag Type Description

-v, --api-version

string

Version of the API that will be undeployed

-e, --environment

string

Environment from which the API will be undeployed

-h, --help

Displays help for the command

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 undeploy an API (i.e., from 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]