Accounts-account-email-domain-usernames-mailboxName-mailbox:DELETE
From Hostway API Documentation
Revision as of 15:24, 15 November 2013 by Mike.robski (Talk | contribs)
DELETE /accounts/{account}/email/{domain}/usernames/{mailboxName}/mailbox
Deletes mailbox.
Contents |
Request
DELETE /accounts/{account}/email/{domain}/usernames/{mailboxName}/mailbox
URI Parameters
- account - string
- domain - string
- mailbox - string
Request Headers
- Authorization - HTTP Authorization header [1]
- The Authentication credentials of the client application.
- Content-Type
- Required. Set this header to
application/json; charset=UTF-8
Response
Status Code
- 204 No Content
- Success
- 401 Unauthorized
- The supplied credentials are invalid or do not provide permissions for this operation.
- 404 Not Found
- The domain name or mailbox do not exist.
Examples
Success deleting mailbox
Request
DELETE /accounts/test-account/email/test.com/usernames/test/mailbox
Response
204 No Content