Delete a transform
Generally available; Added in 7.5.0
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.
-
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
-
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
or0
.
DELETE
/_transform/{transform_id}
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"
Response examples (200)
A successful response when the transform is deleted.
{
"acknowledged": true
}