Deleting an Email
DELETE /emails/{emailId}
Description
Removes an email account from the warmup pool using its unique identifier. This action is irreversible. A successful request returns a confirmation of deletion.
Request
const response = await fetch(`https://partners.leadwarm.ai/api/v1/emails/${emailId}`, {
method: "DELETE",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${YOUR_API_KEY}`,
},
});
Parameters
- emailId (required): The unique identifier of the email to be deleted.
Response
- 200 OK: Successfully deleted the email.
- 404 Not Found: No email found with the provided identifier.
- 401 Unauthorized: Authentication credentials are not provided or are invalid.