Delete an indexedit

Deleting an index is very simple:

$deleteParams['index'] = 'my_index';
$client->indices()->delete($deleteParams);