Cancel pending plan

Cancels the pending plan of an Elasticsearch cluster.

Request

DELETE /api/v1/clusters/elasticsearch/{cluster_id}/plan/pending

Path Parameters

cluster_id (required)
(string) Identifier for the Elasticsearch cluster

Query Parameters

ignore_missing
(boolean; default: false) If true, will return successfully regardless of whether there was a pending plan or not

Responses

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')