Modify a purge routineCopy Pageput https://{hostname}/storage/v1/cpcodes/{cpcodeId}/age-deletionsMake changes to an automatic purge routine for a specific CP code.Path ParamscpcodeIdintegerrequiredUniquely identifies a Content Provider.Query ParamsageDeletionDirectoryPrefixstringThis identifies a subdirectory to target for purging.accountSwitchKeystringFor customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.Body ParamsAutomatic purge routines perform a routine scan of a target directory, and once a specified capacity is reached, the system will begin to purge files that are older than a date you specify.ageDeletionDaysintegerWhen the ageDeletionSizeBytes value is reached for the target directory, this number is subtracted from the current date to determine a timestamp. Files older than this timestamp are purged.ageDeletionDirectorystringThe target directory for an Automatic Purge Routine.ageDeletionExclusionRegexstringPOSIX regular expression pattern matching the filenames to exclude from the purge.ageDeletionRecursivePurgebooleanDefaults to falseWhether subdirectories within the target directory are also included in the purge. If false, only files within the target directory are purged.truetruefalseageDeletionSelectionRegexstringPOSIX regular expression pattern matching the filenames to include in the purge.ageDeletionSizeBytesintegerAutomatic purge occurs when the target directory reaches this size, in bytes.Response 200Successful Response.Updated 4 months ago