Shuts down Deployment
Shuts down all resources in a Deployment.
Path parameters
-
deployment_id
string Required Identifier for the Deployment
Query parameters
-
hide
boolean Whether or not to hide the deployment and its resources.Only applicable for Platform administrators.
-
skip_snapshot
boolean Whether or not to skip snapshots before shutting down the resources
Default value is
false
.
Responses
-
200 application/json
The request was valid and the resources of the deployment were shutdown.
-
400 application/json
Parameter is restricted and can only be set by a Platform administrator. (code:
deployments.restricted_parameter
) -
401 application/json
You are not authorized to perform this action.
-
404 application/json
The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found
)
POST
/deployments/{deployment_id}/_shutdown
curl \
--request POST 'https://{{hostname}}/api/v1/deployments/{deployment_id}/_shutdown' \
--user "username:password"