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

Responses

edit
200

(EmptyResponse) The pending plan has been successfully cancelled

404

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

412

(BasicFailedReply) There is not currently applied plan - eg the cluster has not finished provisioning, or the provisioning failed (code: 'clusters.cluster_plan_state_error')

449

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