Skip to main content
DELETE
/
deployments
/
{deployment_id}
/
{resource_kind}
/
{ref_id}
/
plan
/
pending
Cancel resource pending plan
curl --request DELETE \
  --url https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/plan/pending \
  --header 'Authorization: <api-key>'
{
  "id": "<string>",
  "kind": "<string>",
  "ref_id": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

deployment_id
string
required

(Required) Identifier for the Deployment

Example:

"<string>"

resource_kind
string
required

(Required) The kind of resource

Example:

"enterprise_search"

ref_id
string
required

(Required) User-specified RefId for the Resource (or '_main' if there is only one)

Example:

"<string>"

Query Parameters

force_delete
string

When true, deletes the pending plan instead of attempting a graceful cancellation. The default is false.

Example:

"false"

ignore_missing
string

When true, returns successfully, even when plans are missing. The default is false.

Example:

"false"

Response

Standard Deployment Resource Crud Response

id
string
Example:

"<string>"

kind
string
Example:

"<string>"

ref_id
string
Example:

"<string>"

I