[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Save Product Smtp Settings Data V2

Description

This API is used to save SMTP Configuration.

Request

Request

URL

URL


post
https://localhost:8080/lcm/lcops/api/v2/settings/smtp
Copy

Request Body

Request Body

SMTPConfigurationDTO of type(s) application/json Required

smtpConfigurationDTO

{
	"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: NONESSLTLS


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

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response 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: NONESSLTLS


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

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found



500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -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
Settings Controller Operations
Feedback

Was this page helpful?