DELETE Exchange Global Contact

From Hostway API Documentation
Jump to: navigation, search

Edit an Exchange Global Contact

DELETE /accounts/{account_number}/exchange/{domain_name}/globalContacts/{global_contact_id}

Contents

Parameters

account_number - string
The account number that the Exchange resource belongs to
domain_name - string
The domain name that is associated with the Exchange resource
global_contact_id - string
The contact id is the UUID of the global contact to be edited

Request Body

 
No Request body.
  

Response Body

 
null
  

Expected Response Codes

204
No Content
404
Non-existent resource
405
Unsupported method
502
Internal server error

Examples

DELETE {server_name}/accounts/account300021/exchange/ng-test-hwus-120120b.com/globalContacts/00000136a1cbe0f216c8eec6000ae6fa2cb8a7d8

- Request Headers:

   Content-Type:application/json
   Charset=UTF-8
   Authorization:Base64-encoded username & password string

- Request Body:

no-body

- Response: No Content (204)




DELETE {server_name}/accounts/account300021/exchange/ng-test-hwus-120120b.com/globalContacts/{non_existent_global_contact_id}

- Request Headers:

   Content-Type:application/json
   Charset=UTF-8
   Authorization:Base64-encoded username & password string

- Response: Not Found (404):

404 Not Found
The resource could not be found.
Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox