Remove an existing broadcast.
import { Resend } from 'resend'; const resend = new Resend('re_123456789'); await resend.broadcasts.remove('559ac32e-9ef5-46fb-82a1-b76b840c0f7b');
{ "object": "broadcast", "id": "559ac32e-9ef5-46fb-82a1-b76b840c0f7b", "deleted": true }
You can only delete broadcasts that are in the draft status. In addition, if you delete a broadcast that has already been scheduled to be sent, we will automatically cancel the scheduled delivery and it won’t be sent.
draft
The broadcast ID.
Was this page helpful?