1. Home
  2. ...
  3. Undeployment (ssd api-management undeploy)
  4. API undeployment (ssd api-management undeploy api)

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.
NOTE

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:

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:

Available flags

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

Flag
Type
Description
-v, --api-versionstringVersion of the API that will be undeployed
-e, --environmentstringEnvironment from which the API will be undeployed
-h, --helpDisplays help for the command

Global Flags

Flag
Type
Description
-c, --configstringConfiguration file (default: $HOME/.sensedia/config.json)
--profilestringThe configuration profile you want to use (default: "default")
--verboseLists 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

NOTE

It is possible to undeploy an API (i.e., from an environment) using a .yaml file with the declarative mode. Learn more.

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more