DELETE
/
outbound
/
smarthost
curl --request DELETE \
  --url https://api.jetemail.com/outbound/smarthost \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "smtp-user1"
}'
{
  "success": true,
  "message": "Smarthost deleted successfully"
}

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format "Bearer {token}"

Body

application/json
username
string
required

SMTP username to delete

Example:

"smtp-user1"

Response

200
application/json
SMTP user deleted successfully
success
boolean
Example:

true

message
string
Example:

"Smarthost deleted successfully"