Pick the Put decommission awareness action (under cluster).
Fill in the fields below, then reference the result from later steps as {{putDecommissionAwareness.response.data}}.
Request
Path parameters
awareness_attribute_namestringrequired
The name of the awareness attribute.
awareness_attribute_valuestringrequired
The value of the awareness attribute. For example, if you have shards allocated in two different zones, you can give each zone a value of `zone-a` or `zoneb`. The cluster decommission operation decommissions the zone listed in the method.
Query parameters
prettyboolean
Whether to pretty-format the returned JSON response.
Default false
humanboolean
Whether to return human-readable values for statistics.
Default false
error_traceboolean
Whether to include the stack trace of returned errors.
Default false
sourcestring
The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
filter_pathoneOf
A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
Response
Returns 200 with an object. Read it in later steps with {{putDecommissionAwareness.response.data.<field>}}.
acknowledgedboolean
For a successful response, this value is always true. On failure, an exception is returned instead.
json
{"acknowledged":false}
Need more? See the OpenSearch guide for connection setup and behaviour shared by every action.
Was this page helpful?
Put decommission awareness — OpenSearch — Documentation