Skip to main content

UndeployDeploymentSite

Undeploys a deployment site through the Communication Operator. Undeploy the deployment site's workloads first (UndeployWorkload); Cloud deployment sites release their operator resources.

Examples

Basic usage:

octo-cli -c UndeployDeploymentSite -id "670000000000000000000001"

Non-interactive:

octo-cli -c UndeployDeploymentSite -id "670000000000000000000001" -y

Options

ShortLongRequiredDescription
-id--deploymentSiteRtIdyesThe deployment site's runtime object ID
-y--yesnoSkip confirmation prompt

Notes

Undeploy the deployment site's workloads (Adapters and Applications) with UndeployWorkload before the deployment site itself; the operator removes the deployment site resources (DeploymentSite resource and broker secret for Cloud deployment sites) once nothing runs in it.

Required before DisableCommunication, which is refused with HTTP 409 while any deployment site or workload of the tenant is still deployed (AB#4255).

Acts on the tenant of the active context; switch with UseContext or pass --context <name>.