# Restores a shutdown Deployment **POST /deployments/{deployment_id}/_restore** Restores all resources in a Deployment. ## Servers - https://api.elastic-cloud.com/api/v1: https://api.elastic-cloud.com/api/v1 () ## Parameters ### Path parameters - **deployment_id** (string) Identifier for the Deployment ### Query parameters - **restore_snapshot** (boolean) Whether or not to restore a snapshot for those resources that allow it. ## Responses ### 200 The request was valid and the resources of the deployment were restored. #### Body: application/json (object) - **id** (string) The id of the deployment ### 400 There are Elasticsearch resources in the deployment which are not shut down. #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request ### 401 You are not authorized to perform this action. #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request ### 404 The Deployment specified by {deployment_id} cannot be found. (code: `deployments.deployment_not_found`) #### Headers - **x-cloud-error-codes** (string) The error codes associated with the response #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request [Powered by Bump.sh](https://bump.sh)