Cancel scheduled email
Cancel scheduled email
DELETE https://simplemail-nodejs.herokuapp.com/cancel-email/:cancelID
Path Parameters
Name
Type
Description
{
"msg": "Removed email successfully."
}// If cancelID is not in URL
{
"msg": "Invalid Job ID Error: Job ID not found in request parameter."
}
// If no matched result is found
{
"msg": "Invalid Job ID Error: Cannot find matched result with this ID."
}
// If email cannot be cancelled
{
"msg": "Cancel Job Error: Cannot cancel email: <<ERROR_MSG>>"
}Last updated