public function deleteMailbox($mailboxName)
    {
        $uri = "mailboxes/$mailboxName";
        try {
            $this->client->getEndpoint()->delete($uri);
        } catch (RequestException $e) {
            $this->processRequestException($e);
        }
    }
public function deleteMailbox($mailboxName)
    {
        $uri = "mailboxes/$mailboxName";
        try {
            $this->client->getEndpoint()->delete($uri);
        } catch (RequestException $e) {
            $this->processRequestException($e);
        }
    }
public function deleteMailbox ( $ mailboxName ) { $ uri = "mailboxes/$mailboxName" ; try { $ this -> client -> getEndpoint ( ) -> delete ( $ uri ) ; } catch ( RequestException $ e ) { $ this -> processRequestException ( $ e ) ; } }
Destroy a mailbox.

@param string $mailboxName Name of the mailbox
@throws NotFoundException
Destroy a mailbox .