- URL:https://<portal-url>/securityPolicy/update(POST only)
- Version Introduced:10.4
Description
This 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 |
---|---|
minLength | Enforce a minimum character requirement. Example: minLength=8 Value may be between 8-1000. |
minUpper | Enforce a requirement to include at least one upper case character. Example: minUpper=1 Value may be null or at least 1. |
minLower | Enforce a requirement to include at least one lower case character. Example: minLower=<null> Value may be null or at least 1. |
minLetter | Enforce a requirement to include at least one letter. Example: minLetter=2 Value may be null or at least 1. |
minDigit | Enforce a requirement to include at least one number. Example: minDigit=1 Value may be null or at least 1. |
minOther | Enforce a requirement to include at least one special (non-alphanumeric) character. Example: minOther=1 Value may be null or at least 1. |
expirationInDays | Enforce a requirement for passwords to expire after a set number of days. Example: expirationInDays=90 Value may be null or between 1-1095. |
historySize | Set a number of passwords to remember. Members may not reuse a set number of prior passwords. Example: historySize=3 Value may be null or between 1-24. |
f | Response format. The response formats for this resource are HTML and JSON. The default is HTML. Values: html | json |
Response Properties
Property | Details |
---|---|
success | A Boolean property indicating whether the update was successful. |
Example Usage
https://myportal.mydomain.com/arcgis/sharing/rest/portals/0123456789ABCDEF/securityPolicy/update
minLength=8
minUpper=1
minLower=
minLetter=2
minDigit=1
minOther=1
expirationInDays=90
historySize=3
f=html
JSON Response Syntax
{"success": true | false}
JSON Response Example
{"success": true}