This method retrieves account policies. Please refer to the accounts.setPolicies method parameters for a detailed specification of the policies.
When using accounts.getPolicies within a Single-Sign-On (SSO) environment, the method will return all policies that are set at the Master level and not overridden by the specific Member site being queried, as well as all policies of the Member that are currently overriding the Master.
us1.gigya.com- For the US data center.
eu1- For the European data center.
au1- For the Australian data center.
ru1- For the Russian data center.
cn1- For the Chinese data center.
If you are not sure of your site's data center, see Finding Your Data Center.
Each REST API request must contain identification and authorization parameters.
Some REST APIs may function without these authorization parameters, however, when that occurs, these calls are treated as client-side calls and all client-side rate limits will apply. In order to not reach client-side IP rate limits that may impact your implementation when using server-to-server REST calls, it is Recommended Best Practice to always sign the request or use a secret. A non-exhaustive list of REST APIs that this may apply to are as follows:
Please refer to the Authorization Parameters section for details.
|||sections||string||A comma-separated list specifying which sections of the policies to include in the response. The available policies are:|
Note: Non-privileged requests (not signed with the partner secret key) may only request the following policies: registration, gigyaPlugins and passwordComplexity.
|||filter||string||Specifies what policies to include, can be one of the following options: |
|registration||JSON object||The registration policy.|
|gigyaPlugins||JSON object||The Gigya plugins policy.|
|accountOptions||JSON object||The account options policy.|
|passwordComplexity||JSON object||The password complexity policy.|
|emailVerification||JSON object||The email verification policy.|
|passwordReset||JSON object||The password reset policy.|
|profilePhoto||JSON object||The profile photo policy.|
|security||JSON object||The security policy.|
|twoFactorAuth||JSON object||The two-factor authentication policy.|
|federation||JSON object||The federation policy.|
A field that does not contain data will not appear in the response.