McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 784

↗ View in doc context
page
784
source
unity-connection/rest-api/cupi/cupi.md
chunk_id
unity-connection::rest-api::cupi::cupi::748

Cisco Unity Connection Provisioning Interface (CUPI) API -- SMTP Client Configuration Administrator can configure port 25 or port 587 for outbound SMTP communications over STARTTLS. Listing SMTP Client Configuration The request can be used to fetch the SMTP client side configuration present currently on the system. GET https://<connection-server>/vmrest/smtpclient/clientconfigs The following is the response from the above GET request and the actual response will depend upon the the current SMTP client configuration: <SmtpClientConfiguration> <smtpSmartHost>outbound.cisco.com</smtpSmartHost> <isClientSecure>true</isClientSecure> <smtpPort>25</smtpPort> <isAuthEnabled>true</isAuthEnabled> <smtpUsername>Admin</smtpUsername> <smtpPassword></smtpPassword> </SmtpClientConfiguration> Response Code: 200 JSON Example GET https://<connection-server>/vmrest/smtpclient/clientconfigs Accept: application/json Connection: keep_alive The following is the response from the above GET request and the actual response will depend upon the current SMTP client configuration. { "smtpSmartHost": "outbound.cisco.com", "isClientSecure": "true", "smtpPort": "25", "isAuthEnabled": "true", "smtpUsername": "Admin", "smtpPassword": "", } Response Code: 200 Updating SMTP Client Configuration The following is an example of the PUT request that update the configuration of SMTP Client. PUT https://<connection-server>/vmrest/smtpclient/clientconfigs Cisco Unity Connection Provisioning Interface (CUPI) API 752 Cisco Unity Connection Provisioning Interface (CUPI) API for SMTP Configuration Cisco Unity Connection Provisioning Interface (CUPI) API -- SMTP Client Configuration