DELETE /system/email_servers/{email_server_id}

Deletes an email server.

Table 1. DELETE /system/email_servers/{email_server_id} resource details
MIME Type

text/plain

Table 2. DELETE /system/email_servers/{email_server_id} request parameter details
Parameter Type Optionality Data Type MIME Type Description

email_server_id

path

Required

Number (Integer)

text/plain

Required - The id of the email server

Table 3. DELETE /system/email_servers/{email_server_id} response codes
HTTP Response Code Unique Code Description

204

The server record was removed.

404

5000

The email server does not exist.

409

5001

Cannot remove the default email server.

409

5003

Cannot remove an email server that is assigned a host.

500

5002

Problem encountered while attempting to read the default email server from the database.

Response Description

Response Sample