Accounts-account-email-domain-usernames-mailboxName-blackwhitelist-address:DELETE
From Hostway API Documentation
Revision as of 12:14, 24 July 2015 by Mike.robski (Talk | contribs)
DELETE /accounts/{account}/email/{domain}/usernames/{mailbox}/blackwhitelist/{address}
Remove black/white listed address
Contents |
Request
DELETE /accounts/{account}/email/{domain}/usernames/{mailbox}/blackwhitelist/{address}
URI Parameters
- account - string
- domain - string
- mailbox - string
- address - 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, mailbox or address does not exist.
Examples
Delete address from black/white list
Request
DELETE /accounts/account-number/email/test.com/usernames/test/blackwhitelist/mb1-white20150114-0113@somedomain.com
Response
204 No Content