WA Client
DEL

Delete Label

Delete a label by label_id.

API endpoint
https://waclient.com/api/delete_label
Example:
curl -X DELETE \
  'https://waclient.com/api/delete_label' \
  -H 'Content-Type: application/json' \
  --data '{
    "label_id": "1750000000000",
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Success",
    "data": {
        "label_id": "1750000000000",
        "deleted": true
    }
}
ParameterDescription
label_idLabel identifier
instance_idYour instance ID
access_tokenYour access token
POST is also accepted as an alternative to DELETE.

Command Palette

Search documentation endpoints.

Esc