Update Email Server
This operation updates the configuration for the email server.
- application/json
Request Body
- SMTPServerName string
- SMTPPort integer
- senderEmail string
- senderName string
- encryptionAlgorithm string
- useAuthentication boolean
- username string
- password string
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorString string
- errorCode integer
{
"errorString": "string",
"errorCode": 0
}
{}
Bad Request
POST /emailserver
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"SMTPServerName": "string",
"SMTPPort": 0,
"senderEmail": "string",
"senderName": "string",
"encryptionAlgorithm": "string",
"useAuthentication": true,
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"SMTPServerName": "string",
"SMTPPort": 0,
"senderEmail": "string",
"senderName": "string",
"encryptionAlgorithm": "string",
"useAuthentication": true,
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"SMTPServerName": "string",
"SMTPPort": 0,
"senderEmail": "string",
"senderName": "string",
"encryptionAlgorithm": "string",
"useAuthentication": true,
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"SMTPServerName": "string",
"SMTPPort": 0,
"senderEmail": "string",
"senderName": "string",
"encryptionAlgorithm": "string",
"useAuthentication": true,
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"SMTPServerName": "string",
"SMTPPort": 0,
"senderEmail": "string",
"senderName": "string",
"encryptionAlgorithm": "string",
"useAuthentication": true,
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"SMTPServerName": "string",
"SMTPPort": 0,
"senderEmail": "string",
"senderName": "string",
"encryptionAlgorithm": "string",
"useAuthentication": true,
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"SMTPServerName": "string",
"SMTPPort": 0,
"senderEmail": "string",
"senderName": "string",
"encryptionAlgorithm": "string",
"useAuthentication": true,
"username": "string",
"password": "string"
}'