Update SMTP mail settings via API
API call to be used in order to update settings for SMTP configuration:
API: PUT /identity_/api/setting
Access token: Bearer {partition-admin-user-token}
(please ask customer to grab admin token from the browser)
Body:
{
"Settings": [
{
"Key": "Email.Smtp.Host",
"Value": "SendGrid"
},
{
"Key": "Email.Smtp.Port",
"Value": "587"
},
{
"Key": "Email.Smtp.UserName",
"Value": ""
},
{
"Key": "Email.Smtp.Domain",
"Value": ""
},
{
"Key": "Email.Smtp.FromEmail",
"Value": "no-reply@uipath.com"
},
{
"Key": "Email.Smtp.FromDisplayName",
"Value": "UiPath Platform"
},
{
"Key": "Email.Smtp.EnableSsl",
"Value": "true"
},
{
"Key": "Email.Smtp.UseDefaultCredentials",
"Value": ""
},
{
"Key": "Email.Smtp.Password",
"Value": ""
},
{
"Key": "Email.Smtp.ConnectionTimeout",
"Value": "180000"
}
],
"PartitionGlobalId": ""
}