[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Update Product Smtp Settings V2
DescriptionThis API is used to update SMTP Configuration settings. Its recommended to trigger get SMTP settings API, before performing this operation.
Request
URLURL
https://localhost:8080/lcm/lcops/api/v2/settings/smtp
Request Body
Request Body
{
"authenticationRequired": true,
"encryptionType": "NONE",
"fromEmail": "string",
"password": "string",
"smtpEncryptionPort": "587/465",
"smtpHostName": "smtp.office365.com",
"userName": "myvmwareaccount@vmware.com"
}
boolean
authenticationRequired
Optional
Authentication required
string
encryptionType
Optional
Possible values are: NONE , SSL , TLS
string
fromEmail
Optional
string
password
Optional
string
smtpEncryptionPort
Optional
SMTP port
string
smtpHostName
Optional
SMTP host name
string
userName
Optional
User name for SMTP server
Authentication
This operation uses the following authentication methods.
Authorization
Scopes:
global
Response
Response
Response BodyResponse Body
201 Created returns
SMTPConfigurationDTO
of type(s) application/json
{
"authenticationRequired": true,
"encryptionType": "NONE",
"fromEmail": "string",
"password": "string",
"smtpEncryptionPort": "587/465",
"smtpHostName": "smtp.office365.com",
"userName": "myvmwareaccount@vmware.com"
}
boolean
authenticationRequired
Optional
Authentication required
string
encryptionType
Optional
Possible values are: NONE , SSL , TLS
string
fromEmail
Optional
string
password
Optional
string
smtpEncryptionPort
Optional
SMTP port
string
smtpHostName
Optional
SMTP host name
string
userName
Optional
User name for SMTP server
Errors
401
Unauthorized
403
Forbidden
Code Samples
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"authenticationRequired":true,"encryptionType":"NONE","fromEmail":"string","password":"string","smtpEncryptionPort":"587/465","smtpHostName":"smtp.office365.com","userName":"myvmwareaccount@vmware.com"}' https://localhost:8080/lcm/lcops/api/v2/settings/smtp
[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
On This Page
Settings Controller Operations
delete
delete
delete
delete