लेबल

Delete label

DELETE
/labels/{labelId}

Deletes the label; the chats that had it lose it.

ऑथराइज़ेशन

X-Api-Key: wpf_YOUR_KEY

The connection's API key (wpf_...), generated in the dashboard.

Authorization: Bearer wpf_YOUR_KEY

The same key in Authorization: Bearer wpf_... (what n8n, Make and HTTP libraries support out of the box).

पाथ पैरामीटर

labelId*string

The label id, from GET /labels.

पैटर्न^[A-Za-z0-9_-]{1,64}$

हेडर पैरामीटर

Idempotency-Key?string

Optional. Repeating the same value within 24 h, with the same API key, returns the first response without sending again. See Idempotency in the introduction.

रिस्पॉन्स बॉडी

Label deleted.

application/json
  1. response
data*
curl -X DELETE 'https://app.wappfy.io/api/v1/labels/7' \  -H 'X-Api-Key: wpf_YOUR_KEY'
{  "data": {    "id": "string",    "deleted": true  }}