Loading...

Knowledge Base

Delete Email Accounts from Enterprise Email Orders via API

When you want to remove email accounts from an existing Enterprise Email order using the API. This article explains the required parameters, API request format, and response details for deleting email accounts from an Enterprise Email order.

Delete Email Accounts

 

Description

Deletes Email Accounts from an existing Enterprise Email Order.

Parameters

NameData TypeRequired / Optional
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
order-idIntegerRequiredThe Order Id for which Email Accounts need to be deleted.
no-of-accountsIntegerRequiredThe number of Email Accounts to be deleted.

HTTP Method

POST

Example Test URL Request

US Server https://test.httpapi.com/api/enterpriseemail/us/delete-email-account.json?auth-userid=0&api-key=key&order-id=0&no-of-accounts=2

Response

Returns a hash map containing the below details:

  • Domain Name (description)

  • Order Id of the Enterprise Email Order (entityid)

  • Action Type (actiontype)

  • Description of the Email Accounts Deletion Action (actiontypedesc)

  • Action Id of the Email Accounts Deletion Action (eaqid)

  • Email Accounts Deletion Action Status (actionstatus)

  • Description of the Email Accounts Deletion Action Status (actionstatusdesc)

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.