Reset a transform
Added in 8.1.0
Resets a transform.
Before you can reset it, you must stop it; alternatively, use the force
query parameter.
If the destination index was created by the transform, it is deleted.
Path parameters
-
transform_id
string Required 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
-
force
boolean 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.
POST
/_transform/{transform_id}/_reset
curl \
--request POST http://api.example.com/_transform/{transform_id}/_reset \
--header "Authorization: $API_KEY"
Response examples (200)
{
"acknowledged": true
}