Delete a transform Generally available; Added in 7.5.0

DELETE /_transform/{transform_id}

Required authorization

  • Cluster privileges: manage_transform

Path parameters

Query parameters

  • force boolean

    If this value is false, the transform must be stopped before it can be deleted. If true, the transform is deleted regardless of its current state.

  • If this value is true, the destination index is deleted together with the transform. If false, the destination index will not be deleted

  • timeout string

    Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.

    Values are -1 or 0.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • acknowledged boolean Required

      For a successful response, this value is always true. On failure, an exception is returned instead.

DELETE /_transform/{transform_id}
DELETE _transform/ecommerce_transform
resp = client.transform.delete_transform(
    transform_id="ecommerce_transform",
)
const response = await client.transform.deleteTransform({
  transform_id: "ecommerce_transform",
});
response = client.transform.delete_transform(
  transform_id: "ecommerce_transform"
)
$resp = $client->transform()->deleteTransform([
    "transform_id" => "ecommerce_transform",
]);
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_transform/ecommerce_transform"
Response examples (200)
A successful response when the transform is deleted.
{
  "acknowledged": true
}