DELETE /system/email_servers/{email_server_id}
Deletes an email server.
| MIME Type |
|---|
text/plain |
| Parameter | Type | Optionality | Data Type | MIME Type | Description |
|---|---|---|---|---|---|
email_server_id |
path |
Required |
Number (Integer) |
text/plain |
Required - The id of the email server |
| 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