# Restores a shutdown resource **POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/_restore** Restores a shutdown resource belonging to a given 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 - **resource_kind** (string) The kind of resource - **ref_id** (string) User-specified RefId for the Resource (or '_main' if there is only one) ### Query parameters - **restore_snapshot** (boolean) Whether or not to restore a snapshot for those resources that allow it. ## Responses ### 200 Standard Deployment Resource Crud Response #### Body: application/json (object) - **id** (string) The id of the deployment - **kind** (string) The kind of the stateless resource - **ref_id** (string) The reference id of the resource ### 400 * The Resource does not have a pending plan. (code: `deployments.resource_does_not_have_a_pending_plan`) * The resource is not shut down. (code: `deployments.resource_not_shutdown`) #### 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 ### 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)