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
| Short | Long | Required | Description |
|---|---|---|---|
-id | --deploymentSiteRtId | yes | The deployment site's runtime object ID |
-y | --yes | no | Skip 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>.