Delete tag
Method#
/business/tag/{{TAG_ID}}#
DELETE https://api.z-api.io/instances/{{instanceId}}/token/{{instanceToken}}/business/tag/{{TAG_ID}}
Header#
| Key | Value |
|---|---|
| Client-Token | ACCOUNT SECURITY TOKEN |
Concept#
This method allows you to delete a tag.
Important
This method is only available for WhatsApp Business accounts.
Request Params#
URL example#
Method
DELETE https://api.z-api.io/instances/{{instanceId}}/token/{{instanceToken}}/business/tag/{{TAG_ID}}
Response#
200#
| Attributes | Type | Description |
|---|---|---|
| success | boolean | true if successful, false otherwise |
Example
405#
In this case, make sure you are correctly sending the method specification, i.e., check if you sent POST or PUT as specified at the beginning of this topic.
415#
If you receive a 415 error, make sure to add the "Content-Type" header to the request object you are sending, which in most cases is "application/json".