POST
Rename Label
Rename an existing label.
API endpoint
https://waclient.com/api/rename_labelExample:
curl -X POST \
'https://waclient.com/api/rename_label' \
-H 'Content-Type: application/json' \
--data '{
"label_id": "1750000000000",
"name": "VIP Updated",
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"label_id": "1750000000000",
"name": "VIP Updated"
}
}| Parameter | Description |
|---|---|
| label_id | Label identifier |
| name | New label name |
| instance_id | Your instance ID |
| access_token | Your access token |