Accounts-account-email-domain-contacts-contact:DELETE
From Hostway API Documentation
Revision as of 16:27, 15 November 2013 by Mike.robski (Talk | contribs)
DELETE /accounts/{account}/email/{domain}/contacts/{contact}
Deletes domain's global address book contact.
Contents |
Request
DELETE /accounts/{account}/email/{domain}/contacts/{contact}
URI Parameters
- account - string
- domain - string
- contact - 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 or contact does not exist.
Examples
Success deleting domain's global address book contact
Request
DELETE https://api.hostway.com/accounts/account007/email/test-domain.com/contacts/test-contact
Response
204 No Content