// docs/delete-by-query.asciidoc:369

[source, php]
----
$params = [
    'index' => 'twitter,blog',
    'body' => [
        'query' => [
            'match_all' => [
            ],
        ],
    ],
];
$response = $client->deleteByQuery($params);
----
