- URL:
- https://[root]/portals/[portalID]/securityPolicy/update
- Methods:
POST
- Version Introduced:
- 10.4
Example usage
The following is a sample ArcGIS Online POST request for the update
operation:
POST /sharing/rest/portals/0123456789ABCDEF/securityPolicy/update HTTP/1.1
Host: org.arcgis.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
minLength=8&minUpper=&minLower=&minLetter=1&minDigit=1&minOther=&expirationInDays=&historySize=&f=pjson
The following is a sample ArcGIS Enterprise POST request for the update
operation:
POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/securityPolicy/update HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
minLength=8&minUpper=&minLower=&minLetter=1&minDigit=1&minOther=&expirationInDays=&historySize=&f=pjson
Description
The update
operation updates the security policy of an organization. For example, you can use this operation to change the policy's password length, complexity, and history requirements for members with ArcGIS accounts.
Request parameters
Parameter | Details |
---|---|
| Enforce a minimum character requirement. Value may be between 8-1000 Example
|
| Enforce a requirement to include at least one upper case character. Value may be null or at least 1. Example
|
| Enforce a requirement to include at least one lower case character. Value may be null or at least 1. Example
|
| Enforce a requirement to include at least one letter. Value may be null or at least 1. Example
|
| Enforce a requirement to include at least one number. Value may be null or at least 1. Example
|
| Enforce a requirement to include at least one special (non-alphanumeric) character. Value may be null or at least 1. Example
|
| Enforce a requirement for passwords to expire after a set number of days. Value may be null or between 1-1095. Example
|
| Set a number of passwords to remember. Members may not reuse a set number of prior passwords. Value may be null or between 1-24. Example
|
| The response format. The default format is Values: |
Response properties
Property | Details |
---|---|
| A Boolean property indicating whether the update was successful. |
JSON Response syntax
{"success": <true | false>}
JSON Response example
{"success": true}