public function deleteAccounts(array $usernames)
    {
        $options = ['confirmed' => 'Confirm', 'delete' => 'yes'];
        foreach (array_values($usernames) as $idx => $username) {
            $options["select{$idx}"] = $username;
        }
        $this->invokeApiPost('SELECT_USERS', $options);
    }
public function deleteAccounts(array $usernames)
    {
        $options = ['confirmed' => 'Confirm', 'delete' => 'yes'];
        foreach (array_values($usernames) as $idx => $username) {
            $options["select{$idx}"] = $username;
        }
        $this->invokeApiPost('SELECT_USERS', $options);
    }
public function deleteAccounts ( array $ usernames ) { $ options = [ 'confirmed' => 'Confirm' , 'delete' => 'yes' ] ; foreach ( array_values ( $ usernames ) as $ idx => $ username ) { $ options [ "select{$idx}" ] = $ username ; } $ this -> invokeApiPost ( 'SELECT_USERS' , $ options ) ; }
Deletes multiple accounts.

@param string[] $usernames Accounts to delete
Deletes multiple accounts .