Update Product Smtp Settings V2 Using PUT

Update Product Smtp Settings V2 Using PUT

This API is used to update SMTP Configuration settings. Its recommended to trigger get SMTP settings API, before performing this operation.

Request
URI
PUT
https://{api_host}//10.155.180.238/lcm/lcops/api/v2/settings/smtp
COPY
Request Body
SMTPConfigurationDTO of type(s) application/json
Optional
{
    "authenticationRequired": true,
    "encryptionType": "string",
    "fromEmail": "string",
    "password": "string",
    "smtpEncryptionPort": "587/465",
    "smtpHostName": "smtp.office365.com",
    "userName": "[email protected]"
}
boolean
authenticationRequired
Optional

Authentication required

string
encryptionType
Optional

encryptionType

Possible values are : NONE, SSL, TLS,
string
fromEmail
Optional

fromEmail

string
password
Optional

password

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.
Responses
200

OK

Returns SMTPConfigurationDTO of type(s) application/json
{
    "authenticationRequired": true,
    "encryptionType": "string",
    "fromEmail": "string",
    "password": "string",
    "smtpEncryptionPort": "587/465",
    "smtpHostName": "smtp.office365.com",
    "userName": "[email protected]"
}
boolean
authenticationRequired
Optional

Authentication required

string
encryptionType
Optional

encryptionType

Possible values are : NONE, SSL, TLS,
string
fromEmail
Optional

fromEmail

string
password
Optional

password

string
smtpEncryptionPort
Optional

SMTP port

string
smtpHostName
Optional

SMTP host name

string
userName
Optional

User name for SMTP server


201

Created

Operation doesn't return any data structure

400

Bad Request

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations


500

Internal Server Error

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations


Settings Controller Operations
POST
Check Patches Online V2 Using POST
DELETE
Delete My Vmware Account V2 Using DELETE
DELETE
Delete My Vmware Account V3 Using DELETE
DELETE
Delete Patch Ova V2 Using DELETE
DELETE
Delete Patch V2 Using DELETE
DELETE
Delete Product Dns Settings Data V2 Using DELETE
DELETE
Delete Product Dns Settings Data V3 Using DELETE
DELETE
Delete Product Ntp Settings Data V2 Using DELETE
DELETE
Delete Product Ntp Settings Data V3 Using DELETE
DELETE
Delete Product Smtp Settings Data V2 Using DELETE
DELETE
Delete Product Snmp Settings Data V2 Using DELETE
POST
Download My Vmware Binary V2 Using POST
POST
Download Patch Binary V2 Using POST
POST
Download Product Binary V2 Using POST
POST
Generate Log Bundle V2 Using POST
GET
Get All Log Bundles Data V2 Using GET
GET
Get All Patch Ova Binaries V2 Using GET
GET
Get Downloaded Patch Binaries V2 Using GET
GET
Get Lcm Ntp Settings Data V2 Using GET
GET
Get Log Insight Settings Data V2 Using GET
GET
Get My Vmware Accounts V2 Using GET
GET
Get My Vmware Binaries V2 Using GET
GET
Get Network Settings Data V2 Using GET
GET
Get Notification Global Configuration Data V2 Using GET
POST
Get Patch Binaries From Source Location V2 Using POST
GET
Get Patch Binaries V2 Using GET
POST
Get Patch Ova Binaries From Source Location V2 Using POST
GET
Get Product Binaries V2 Using GET
POST
Get Product Binaries V2 Using POST
GET
Get Product Dns Settings Data V2 Using GET
GET
Get Product Ntp Settings Data V2 Using GET
GET
Get Product Smtp Settings Data V2 Using GET
GET
Get Product Snmp Settings Data V2 Using GET
GET
Get Proxy Settings Data V2 Using GET
GET
Get Ssh Status V2 Using GET
GET
Get System Disks Data V2 Using GET
GET
Get System Settings Data V2 Using GET
GET
Get Telemetry Settings Data V2 Using GET
POST
Import Patch Binaries From Source Location V2 Using POST
POST
Import Patch Ova Binary V2 Using POST
POST
Save Lcm Ntp Settings Data V2 Using POST
POST
Save Lcm Va Disk Expand Settings Data V2 Using POST
POST
Save Log Insight Agent Settings Data V2 Using POST
POST
Save My Vmware Account V2 Using POST
POST
Save My Vmware Account V3 Using POST
POST
Save Notification Global Configuration Data V2 Using POST
POST
Save Product Dns Settings Data V2 Using POST
POST
Save Product Ntp Settings Data V2 Using POST
POST
Save Product Smtp Settings Data V2 Using POST
POST
Save Product Snmp Settings Data V2 Using POST
POST
Save Proxy Settings Data V2 Using POST
POST
Save Ssh Settings Data V2 Using POST
POST
Save Vcf Mode Settings Data V2 Using POST
GET
Send Test Email Notification Using GET
PUT
Update My Vmware Account V2 Using PUT
PUT
Update Notification Global Configuration Data V2 Using PUT
PUT
Update Product Dns Settings V2 Using PUT
PUT
Update Product Ntp Settings V2 Using PUT
PUT
Update Product Smtp Settings V2 Using PUT
PUT
Update Product Snmp Settings V2 Using PUT
PUT
Update Proxy Settings V2 Using PUT
POST
Upload Product Binary V2 Using POST