Elastic search 2.2 and HTTP delete api?

curl -XDELETE "localhost:9200/{index}/{type}/_query?q={k}:{v}"

use to delete documents from the index that matched the query. I tried this on 2.2 and it doesn't work. I tried to find it in the documentation and could not. Has it changed? How can I delete documents by a query?

Here you are https://www.elastic.co/guide/en/elasticsearch/reference/2.2/breaking_20_removed_features.html#_delete_by_query_is_now_a_plugin

Thank you very much!