Voting exclusion api wrong HTTP method

Im using this dcumentation as a reference:
https://www.elastic.co/guide/en/elasticsearch/reference/current/voting-config-exclusions.html

POST https://MY_DOMAIN/_cluster/voting_config_exclusions?node_ids=firstId,secondId

Response:

{
	"error": "Incorrect HTTP method for uri [/_cluster/voting_config_exclusions?node_ids=CWH-pph2Tp2PuHwr6Cf7EA,PoWXZIZvQnegbEd5WNb2ew] and method [POST], allowed: [DELETE]",
	"status": 405
}

So is method POST allowed or not cause there's a little discrepancy between docs and that

1 Like

Are you sure you're looking at the docs for the right version? Earlier versions don't support this API in quite the same way, see e.g. https://www.elastic.co/guide/en/elasticsearch/reference/7.7/voting-config-exclusions.html.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.