Path parameters
-
Name of the enrich policy to create or update.
Query parameters
-
master_timeout string
Period to wait for a connection to the master node.
PUT
/_enrich/policy/{name}
curl \
--request PUT http://api.example.com/_enrich/policy/{name} \
--header "Content-Type: application/json" \
--data '{"additionalProperty1":{"enrich_fields":"string","indices":"string","match_field":"string","query":{},"name":"string","elasticsearch_version":"string"},"additionalProperty2":{"enrich_fields":"string","indices":"string","match_field":"string","query":{},"name":"string","elasticsearch_version":"string"}}'
Request examples
{
"additionalProperty1": {
"enrich_fields": "string",
"indices": "string",
"match_field": "string",
"query": {},
"name": "string",
"elasticsearch_version": "string"
},
"additionalProperty2": {
"enrich_fields": "string",
"indices": "string",
"match_field": "string",
"query": {},
"name": "string",
"elasticsearch_version": "string"
}
}
Response examples (200)
{
"acknowledged": true
}