Join the Startup League

Delete Accounts

Description

Deletes Email Accounts from an existing G Suite Order.

Parameters

Name Data Type Required / Optional
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.