Path parameters
-
Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.
Query parameters
-
If this value is
true
, the transform is reset regardless of its current state. If it'sfalse
, the transform must be stopped before it can be reset. -
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
.
POST
/_transform/{transform_id}/_reset
Console
POST _transform/ecommerce_transform/_reset
resp = client.transform.reset_transform(
transform_id="ecommerce_transform",
)
const response = await client.transform.resetTransform({
transform_id: "ecommerce_transform",
});
response = client.transform.reset_transform(
transform_id: "ecommerce_transform"
)
$resp = $client->transform()->resetTransform([
"transform_id" => "ecommerce_transform",
]);
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_transform/ecommerce_transform/_reset"
Response examples (200)
A successful response when the transform is reset.
{
"acknowledged": true
}