Delete a broadcast
DELETE/v1/broadcasts/{id}
Only a draft or cancelled broadcast.
Required scope: broadcasts:manage
Parameters
| Name | In | Description |
|---|---|---|
idrequired | path | The broadcast id. |
Example
curl -X DELETE 'https://api.sendsend.email/v1/broadcasts/ID' \
-H "Authorization: Bearer $SENDSEND_API_KEY"Response 200
{
"object": "broadcast",
"id": "xxx_…",
"deleted": true
}Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | No such resource in this project. |
| 409 | validation_error | The broadcast has been sent or is sending. |
| 401 | unauthorized | The API key is missing, invalid or revoked. |
| 403 | forbidden | The key does not have the scope this endpoint needs. |
Every error has the same shape. See Errors.