Delete a transform
Generally available; Added in 7.5.0
highlight#highlightFromAnchor" href="#topic-required-authorization"> Required authorization
- Cluster privileges:
manage_transform
Query parameters
-
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
-
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
or0
.
DELETE
/_transform/{transform_id}
dropdown#toggle click@window->dropdown#hide touchend@window->dropdown#hide"
data-dropdown-target="button"
data-scrollable="false"
data-headings="false"
aria-expanded="false"
aria-haspopup="true"
role="menu"
tabindex="0">
Console
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"
client.transform().deleteTransform(d -> d
.transformId("ecommerce_transform")
);
Response examples (200)
A successful response when the transform is deleted.
{
"acknowledged": true
}