Accounts-account-email-domain-contacts-contact:DELETE
From Hostway API Documentation
(Difference between revisions)
Mike.robski (Talk | contribs) m (1 revision: Release 87) |
Latest revision as of 16:27, 15 November 2013
[edit] DELETE /accounts/{account}/email/{domain}/contacts/{contact}
Deletes domain's global address book contact.
Contents |
[edit] Request
DELETE /accounts/{account}/email/{domain}/contacts/{contact}
[edit] URI Parameters
- account - string
- domain - string
- contact - string
[edit] 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
[edit] Response
[edit] 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.
[edit] Examples
[edit] 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