v1

latestOpenAPI 3.1.02026-07-1413113265.9 KB
contact

delete contact

Deletes a contact from the address book.

post/instances/{id}/client/action/delete-contact

Path parameters

idinteger required

Instance ID

Request body

phoneNumberstring required

The phone number of the contact to delete

Example request

{
  "phoneNumber": "50664083362"
}

Response

Contact deleted successfully

status'success' | 'error'
instanceIdstring

Example response

{
  "status": "success",
  "instanceId": "1111",
  "data": {
    "phoneNumber": "50664083362",
    "deleted": true
  },
  "links": {
    "self": "https://waapi.app/api/v1/instances/1/client/action/delete-contact"
  }
}