IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Shuts down Deployment
editShuts down Deployment
editShuts down all resources in a Deployment.
Request
editPOST /api/v1/deployments/{deployment_id}/_shutdown
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
Identifier for the Deployment |
Query parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
N |
Whether or not to hide the deployment and its resources.Only applicable for Platform administrators. |
|
|
N |
Whether or not to skip snapshots before shutting down the resources |
Responses
edit-
200
-
The request was valid and the resources of the deployment were shutdown.
-
400
-
Parameter is restricted and can only be set by a Platform administrator. (code:
deployments.restricted_parameter
)Headers
-
x-cloud-error-codes
(string
; allowed values: [deployments.restricted_parameter
]) - The error codes associated with the response
-
-
401
-
You are not authorized to perform this action.
-
404
-
The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found
)Headers
-
x-cloud-error-codes
(string
; allowed values: [deployments.deployment_not_found
]) - The error codes associated with the response
-
Request example
editcurl -XPOST https://{{hostname}}/api/v1/deployments/{deployment_id}/_shutdown \ -H "Authorization: ApiKey $ECE_API_KEY"