Restores a shutdown Deployment
Restores all resources in a Deployment.
Path parameters
-
deployment_id
string Required Identifier for the Deployment
Query parameters
-
restore_snapshot
boolean Whether or not to restore a snapshot for those resources that allow it.
Default value is
false
.
Responses
-
200 application/json
The request was valid and the resources of the deployment were restored.
-
400 application/json
There are Elasticsearch resources in the deployment which are not shut down.
-
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}/_restore
curl \
--request POST 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/_restore'