# Shutdown Deployment Elasticsearch Resource **POST /deployments/{deployment_id}/elasticsearch/{ref_id}/_shutdown** Shutdown Elasticsearch 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. - **ref_id** (string) User-specified RefId for the Resource (or '_main' if there is only one). ### Query parameters - **hide** (boolean) Hide cluster on shutdown. Hidden clusters are not listed by default. Only applicable for Platform administrators. - **skip_snapshot** (boolean) If true, will skip taking a snapshot of the cluster before shutting the cluster down (if even possible). ## Responses ### 200 Standard response. #### Body: application/json (object) - **warnings** (array[object]) List of warnings generated from validating command ### 400 Parameter is restricted and can only be set by a Platform administrator. (code: `deployments.restricted_parameter`) #### 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`) * The Resource specified by {ref_id} cannot be found. (code: `deployments.deployment_resource_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 ### 500 A Resource that was previously stored no longer exists. (code: `deployments.deployment_resource_no_longer_exists`) #### 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)