Delete an account



Delete an account removed and delete an account from the server.


Please read carefully!


1. The account ID will be canceled and removed immediately.

2. All messages, conversations, contacts, files, webhooks, labels - everything will be deleted.

3. All studio data, reports, inboxes data and saved information within this account will be removed. make sure you backup all data from within the account if you need.

4. All WhatsApp inboxes connected to this account will be released in case you want to connect them to other account.

5. This operation is irreversible! make sure this is really what you want.


Settings:

URL

https://partners.99digital.co.il/api/online/deleteAccount

Method

JSON via DELETE

Header

Authorization: Bearer {{access_token}}

*The access_token can be received from settings->get access token API.


Body:

Parameter

Description / Example

accountID

The account ID you wish to delete.

server

The server subdomain of the account id. the default is 'online'.


Response:

{
"status": "OK",
"accountID": 1,
"server": "online"
"reason": 1
}


Response-Explain:

Parameter

Description

status

OK or FAIL

"OK" means the request was successful.

"Fail" means error.

accountID

The accountID you provided

server

The server subdomain where the account is hosted.

reason

'reason' is the status explanation in case of FAIL

1

not FAIL. the status is OK

2

partnerKey is incorrect or JSON format error.

3

Access token does not exist or expired, please generate another one from Settings - Get access token API

13

you need to use DELETE method.

33

accountID is empty or wrong

34

server is invalid or wrong