Create a mail server
POST/mailservers
Creates a mail server. Requires system-settings.fullaccess. If Enabled is true, SMTP is tested first; a failed test still creates the server with Enabled false. Enabling one server disables the others. Service users are rejected (GE-1014).
Request
Responses
- 200
- 400
- 500
Server was stored. server_id is the new id. Message notes a skipped enable when the SMTP test failed.
Response Headers
Validation or authorization failure. Body is {"Message": " -
Response Headers
DynamoDB create failure uses DB-1001. SSM credential store failure uses GE-1011. Other uncaught errors use {"Message": "GE-1008 - Could not complete the request. Please try again."}.