---
type: api
title: Clear cluster voting config exclusions
description: Remove master-eligible nodes from the voting configuration exclusion list.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch/operation/operation-cluster-delete-voting-config-exclusions
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch/operation/operation-cluster-delete-voting-config-exclusions
products:
  - Elasticsearch
---

# Clear cluster voting config exclusions

Availability: 7.0+

## Paths

- `DELETE` `/_cluster/voting_config_exclusions`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/authentication#basicauth)
- [Bearer auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/authentication#bearerauth)

## Description

Remove master-eligible nodes from the voting configuration exclusion list.

[More about node management](https://www.elastic.co/docs/deploy-manage/maintenance/add-and-remove-elasticsearch-nodes)

## Query String Parameters

- `master_timeout` (string Duration · default: 30s)
  Period to wait for a connection to the master node.
- `wait_for_removal` (boolean · default: true)
  Specifies whether to wait for all excluded nodes to be removed from the
cluster before clearing the voting configuration exclusions list.
Defaults to true, meaning that all excluded nodes must be removed from
the cluster before this API takes any action. If set to false then the
voting configuration exclusions list is cleared even if some excluded
nodes are still in the cluster.

## Response

## Code Examples

#### Console

```console
DELETE /_cluster/voting_config_exclusions
```

#### curl

```curl
curl -X DELETE "/_cluster/voting_config_exclusions"
```

