# Update AML Preference Settings Updates AML preferences for the current logged-in customer, Allows the customer to update AML preferences such as threshold, search type, action type, datasets, sanction bodies, and PEP tiers. Returns the updated preferences details. Endpoint: PUT /compliance/kyc-protect/settings/preferences/aml Version: 1.10.9 Security: bearerToken ## Request fields (application/json): - `threshold` (integer, required) The threshold score value used for AML screening decisions. Higher values require stronger matches to trigger alerts. - `searchType` (string, required) The type of AML search to perform. Valid values are "individual" for person searches and "business" for company searches. Enum: "individual", "business" - `searchActionType` (string, required) The action type for the AML search. Valid values are "screening" for one-time checks and "monitoring" for ongoing surveillance. Enum: "screening", "monitoring" - `pepTiers` (array) Array of PEP (Politically Exposed Person) tier classifications to include in AML screening. Valid values are pepTier1, pepTier2, pepTier3 and byAssociation. Enum: "pepTier1", "pepTier2", "pepTier3", "byAssociation" - `datasets` (array, required) Array of dataset names to include in the AML search. Specifies which data sources should be checked during screening. - `sanctionBodies` (array,null) Array of sanction body IDs to include in the AML screening. May be null to use default sanction bodies or if not applicable. - `isEmailRequired` (boolean,null) Indicates whether email notifications are required for AML events and alerts. May be null to use system defaults. - `emailRecipients` (array,null) Array of email addresses to receive AML notifications and alerts. May be null if email notifications are disabled. ## Response 200 fields (application/json): - `customerId` (integer) The unique identifier for the customer associated with these AML settings. - `searchType` (string) The type of AML search performed (e.g., screening, monitoring). - `searchActionType` (string) The action type for the AML search (e.g., initial, update). - `threshold` (integer) The threshold value used for AML screening or monitoring decisions. - `datasets` (array) The list of datasets included in the AML search or monitoring process. - `sanctionBodies` (array,null) The list of sanction body IDs used for AML screening. May be null if not set. - `isEmailRequired` (boolean,null) Indicates whether email notifications are required for AML events. May be null if not set. - `emailRecipients` (array,null) The list of email addresses to receive AML notifications. May be null if not set. - `pepTiers` (array,null) The list of PEP (Politically Exposed Person) tiers included in the AML screening. May be null if not set. - `createdAt` (string,null) The date and time when these AML settings were created. May be null if not set. - `createdById` (integer,null) The user ID of the person who created these AML settings. May be null if not set. - `modifiedAt` (string,null) The date and time when these AML settings were last modified. May be null if not set. - `modifiedById` (integer,null) The user ID of the person who last modified these AML settings. May be null if not set. - `correlationId` (string) A unique ID assigned to this request for tracking and troubleshooting purposes. ## Response 400 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected ## Response 401 fields (application/json): - `error` (string) ## Response 403 fields (application/json): - `message` (string) Example: "Access forbidden" ## Response 404 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected