Update Settings
Add or update one or more settings configured for the workflow system. The adminAdvanced privilege is required.
Note: Email settings are optional for ArcGIS Online.
Settings Parameters:
Parameter | Description | Data Type |
---|---|---|
smtpDefaultSenderDisplayName | Optional . The display name for email notifications. | String |
smtpDefaultSenderEmail | Optional. The email used to send notifications. | String |
smtpUsername | Optional. Username for the SMTP server . | String |
smtpPassword | Optional. Password for the SMTP server. | String |
smtpPort | Optional. Port used by the SMTP server. | String |
smtpProtocol | Optional. Protocol used by the SMTP server. | String |
smtpServer | Optional. The server to be used for SMTP. | String |
Body parameter
{
"settings": [
{
"propName": "string",
"value": "string",
"encrypted": true
}
]
}
Query parameters
Name | Type | Required |
---|---|---|
|
|
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
|
Examples
Request
# You can also use wget
curl -X POST /{orgId}/{itemId}/settings \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Response
200 Response
{
"success": true
}
Status | Meaning | Description | Schema |
---|---|---|---|
| success | ||
| invalid object |