IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Responses

edit
202

(EmptyResponse) The stop command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

404

(BasicFailedReply) The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

412

(BasicFailedReply) The command sent to a cluster found the cluster in an illegal state, the error message gives more details (code: 'clusters.cluster_plan_state_error')

449

(BasicFailedReply) When running as an administrator (other than root), sudo is required (code: 'root.needs_sudo')