PUT /system-ms/email-server
Update the Email server.
Note: Only admin user is allowed to update Email server configuration details.
To modify the Email server:
-
Perform the authentication and login to the API. For more information, see POST /auth/login.
Use PUT /system-ms/email-server to send an HTTP PUT request.
Click Try it Out option.
-
Under Request body select application/json from drop-down list.
- Enter the request body parameter values as follows:
{ "smtpServer": "string", "port": 0, "userID": "string", "password": "string", "emailAddress": "string" }See POST /system-ms/email-server for the request body parameters.
-
Click on Execute to generate the request URL.
Request URL:
The following table lists the expected responses.https://<IP_Address>:<PORT>/system-ms/email-serverResponse Type
Value
Schema
Valid Response 200 OK
For 200 OK,{ "passwordStrength": "string", "minimumPasswordLength": 0, "maximumPasswordLength": 0, "passwordExpirationPeriod": 0, "daysBeforeExpire": 0 }Error Response
400 Bad Request
Not applicable
401 Authentication Failure
Not applicable
403 Forbidden
Not applicable
404 Not found
Not applicable
↑