Skip to content

updateSettings

POST
Use dark colors for code blocksCopy
1
/{orgId}/{itemId}/settings
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:

ParameterDescriptionData Type
smtpDefaultSenderDisplayNameOptional . The display name for email notifications.String
smtpDefaultSenderEmailOptional. The email used to send notifications.String
smtpUsernameOptional. Username for the SMTP server .String
smtpPasswordOptional. Password for the SMTP server.String
smtpPortOptional. Port used by the SMTP server.String
smtpProtocolOptional. Protocol used by the SMTP server.String
smtpServerOptional. The server to be used for SMTP.String

Query parameters

NameTypeRequired
tokenstring¦null

Body parameters

Supported content types: application/json

Type: DataStoreSettings

An object defining the settings

NameTypeRequired
settings[DataStoreSettingValue]

Path parameters

NameTypeRequired
orgIdstring
itemIdstring

Response status

StatusMeaningDescriptionSchema
200OK

success

Success
400Bad Request

invalid object

WorkflowJsonExceptionDTO

Examples

Request

Use dark colors for code blocksCopy
1
2
3
4
5
# You can also use wget
curl -X POST /{orgId}/{itemId}/settings \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <YOUR_TOKEN>' \
  --data '{"settings":[{"propName":"string","value":"string","encrypted":true}]}'

Response

Use dark colors for code blocksCopy
1
2
3
{
  "success": true
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.