Delete a transform Generally available; Added in 7.5.0

DELETE /_transform/{transform_id}

Required authorization

  • Cluster privileges: manage_transform

Path parameters

  • transform_id string Required

    Identifier for the transform.

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.

    Default value is false.

  • delete_dest_index boolean

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

    Default value is false.

  • timeout string

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

    Default value is 30s.

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"
var response = await client.TransformManagement.DeleteTransformAsync(transformId: "ecommerce_transform");
client.transform().deleteTransform(d -> d
    .transformId("ecommerce_transform")
);
Response examples (200)
A successful response when the transform is deleted.
{
  "acknowledged": true
}