Path parameters
-
Identifier for the transform. To stop multiple transforms, use a comma-separated list or a wildcard expression. To stop all transforms, use
_allor*as the identifier.
Query parameters
-
Specifies what to do when the request: contains wildcard expressions and there are no transforms that match; contains the
_allstring or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.If it is true, the API returns a successful acknowledgement message when there are no matches. When there are only partial matches, the API stops the appropriate transforms.
If it is false, the request returns a 404 status code when there are no matches or only partial matches.
Default value is
true. -
If it is true, the API forcefully stops the transforms.
Default value is
false. -
Period to wait for a response when
wait_for_completionistrue. If no response is received before the timeout expires, the request returns a timeout exception. However, the request continues processing and eventually moves the transform to a STOPPED state.Default value is
30s. -
If it is true, the transform does not completely stop until the current checkpoint is completed. If it is false, the transform stops as soon as possible.
Default value is
false. -
If it is true, the API blocks until the indexer state completely stops. If it is false, the API returns immediately and the indexer is stopped asynchronously in the background.
Default value is
false.
POST _transform/ecommerce_transform/_stop
resp = client.transform.stop_transform(
transform_id="ecommerce_transform",
)
const response = await client.transform.stopTransform({
transform_id: "ecommerce_transform",
});
response = client.transform.stop_transform(
transform_id: "ecommerce_transform"
)
$resp = $client->transform()->stopTransform([
"transform_id" => "ecommerce_transform",
]);
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_transform/ecommerce_transform/_stop"
var response = await client.TransformManagement.StopTransformAsync(transformId: "ecommerce_transform");
client.transform().stopTransform(s -> s
.transformId("ecommerce_transform")
);
{
"acknowledged": true
}