Cluster decommission

    For more information about allocation awareness, see Shard allocation awareness.

    The following example request decommissions :

    1. PUT /_cluster/decommission/awareness/<zone>/<zone-a>
    1. {
    2. }

    The following example requests returns the decommission status of all zones.

    1. {
    2. "zone-1": "INIT | DRAINING | IN_PROGRESS | SUCCESSFUL | FAILED"