Skip to main content
POST
/
v1
/
emails
/
{id}
/
cancel
Cancel Email
curl --request POST \
  --url https://api.example.com/v1/emails/{id}/cancel
id
string
required
The ID of the scheduled email to cancel.

Request

cURL
curl -X POST https://www.unosend.co/api/v1/emails/550e8400-e29b-41d4-a716-446655440000/cancel \
  -H "Authorization: Bearer un_xxxxxxxxxx"

Response

200
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "cancelled"
}
You can only cancel emails that are in scheduled status. Once an email has been sent, it cannot be cancelled.