Skip to content

Instantly share code, notes, and snippets.

@Demacr
Created May 17, 2020 12:35
Show Gist options
  • Save Demacr/b80d26a113f10cf95bc4a29e6265b622 to your computer and use it in GitHub Desktop.
Save Demacr/b80d26a113f10cf95bc4a29e6265b622 to your computer and use it in GitHub Desktop.
Unblock elasticsearch read only allow delete
curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment