Delete Accounts

Description

Deletes email accounts from an existing G Suite order.

Note
  • Deletion is only possible for orders with monthly tenure. We do not support deletion of email accounts for orders on the annual plan. 
  • We do not offer any refunds on accounts that are deleted.
Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The Order Id for which Accounts need to be deleted.
no-of-accounts Integer Required The number of Accounts to be deleted.

HTTP Method

POST

Example Test URL Request

India

https://test.httpapi.com/api/gapps/in/delete-account.json?auth-userid=0&api-key=key&order-id=0&no-of-accounts=2

South East Asia & Egypt

https://test.httpapi.com/api/gapps/se/delete-account.json?auth-userid=0&api-key=key&order-id=0&no-of-accounts=2

Rest of the World

https://test.httpapi.com/api/gapps/gbl/delete-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 G Suite Order (entityid)

  • Action Type (actiontype)

  • Description of the Accounts Deletion Action (actiontypedesc)

  • Action Id of the Accounts Deletion Action (eaqid)

  • Accounts Deletion Action Status (actionstatus)

  • Description of the Accounts Deletion Action Status (actionstatusdesc)

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