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 | |
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
|