Delete named project routing expressions Technical preview

DELETE /_project_routing/{name}

Delete named project routing expressions.

Required authorization

  • Cluster privileges: manage

Path parameters

  • name string Required

    The name of project routing expression

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.

DELETE /_project_routing/{name}
DELETE _project_routing/aws-us-only
resp = client.project_routing.delete(
    name="aws-us-only",
)
const response = await client.projectRouting.delete({
  name: "aws-us-only",
});
response = client.project_routing.delete(
  name: "aws-us-only"
)
$resp = $client->projectRouting()->delete([
    "name" => "aws-us-only",
]);
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_project_routing/aws-us-only"
Response examples (200)
{
  "acknowledged": true
}