provider Cancel Scheduled Sends DELETE /user/scheduled_sends/{batch_id}
@utdk/sendgrid /user/scheduled_sends/{batch_id}
Delete a cancellation or pause from a scheduled send
**This endpoint allows you to delete the cancellation/pause of a scheduled send.** Scheduled sends cancelled less than 10 minutes before the scheduled time are not guaranteed to be cancelled.
batch_id path required
string
on-behalf-of header
string

Try it

Authentication
Configure credentials for Email Activity (beta)
deleteUserScheduledSendsBatchId
DELETE/user/scheduled_sends/{batch_id}
**This endpoint allows you to delete the cancellation/pause of a scheduled send.** Scheduled sends cancelled less than 10 minutes before the scheduled time are not guaranteed to be cancelled.

Parameters

required

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.deleteUserScheduledSendsBatchId({
  "on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})