# Update A Schedule In Monitoring Updates a schedule in AML monitoring. When there is a change in threshold or datasets, the system will deduct one credit for screening. Endpoint: PUT /compliance/kyc-protect/schedules/{scheduleId} Version: 1.10.9 Security: bearerToken ## Path parameters: - `scheduleId` (string, required) id of the profile ## Request fields (application/json): - `threshold` (integer) The threshold to use when running the schedule. Must be one of 75, 80, 85, 90, 95, 100. Changing threshold will cause even decided results to come back again and a new decision will need to be made. - `datasets` (array) The datasets to use when running the schedule. Changing datasets will cause even decided results to come back again and a new decision will need to be made. Note: Please refer to the corresponding endpoint that the schedule is set against for the correct dataset options - `isEmailRequired` (boolean) Set to true to send an email when the schedule is run. If there are no email recipients set then this will be ignored. - `emailRecipients` (array) The list of email recipients to send the email to when the schedule is run. Email will not be sent if IsEmailRequired is false. ## Response 200 fields (application/json): - `id` (string) The id of the schedule - `searchId` (string) The id of the search that was being scheduled - `isEmailRequired` (boolean) Indicates whether the schedule requires an email to be sent when the search is run - `emailRecipients` (array,null) The email recipients that the email should be sent to when the search is run - `createdById` (integer) The id of the user who created the schedule - `createdAt` (string) The time the schedule was created - `createdBy` (string) The name of the user who created the schedule - `modifiedById` (integer) The id of the user who last modified the schedule - `modifiedAt` (string) The time the schedule was last modified - `modifiedBy` (string) The name of the user who last modified the schedule - `type` (string) The type of the schedule, i.e. business or individual - `name` (string,null) The name used in the search criteria - `firstName` (string,null) The first name used in the search criteria - `middleName` (string,null) The middle name used in the search criteria - `lastName` (string,null) The last name used in the search criteria - `gender` (string,null) The gender used in the search criteria, i.e. male or female - `dateOfBirth` (string,null) The date of birth used in the search criteria - `countries` (array,null) The list of country codes used in the search criteria - `threshold` (integer) The threshold used in the search criteria - `datasets` (array) The datasets used in the search criteria - `pepTiers` (array,null) The pep tiers used in the search criteria, i.e. pepTier1, pepTier2, pepTier3, byAssociation - `isDobRequired` (boolean,null) Indicates whether date of birth is required for the individual search. ## 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"