Reset a transform Added in 8.1.0

POST /_transform/{transform_id}/_reset

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's false, the transform must be stopped before it can be reset.

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.

POST /_transform/{transform_id}/_reset
curl \
 -X POST http://api.example.com/_transform/{transform_id}/_reset