Skip to main content
DELETE
/
instances
/
{instanceId}
/
token
/
{token}
/
broadcast
/
{broadcastId}
Delete broadcast list
curl --request DELETE \
  --url https://api.z-api.io/instances/{instanceId}/token/{token}/broadcast/{broadcastId} \
  --header 'Client-Token: <api-key>'

Overview

This method allows you to permanently delete an existing broadcast list.
Please be aware of the limitations and rules around the use of broadcast lists. For more details, check the introduction.

Attributes

instanceId
string
required
Your instance ID. Available in the Z-API panel under Instances.
token
string
required
Your Z-API instance token.

Path

broadcastId
string
required
ID of the broadcast list to be deleted. Ex: 1779474934@broadcast

Response

200

{
  "success": true
}

405

Make sure you are sending the request with the correct HTTP method. Check that you are using DELETE as specified at the top of this page.

415

If you receive a 415 error, make sure to include the Content-Type header in your request. In most cases, the value should be application/json.