create file delete rules (Time To Live - TTL)

POST {{baseUrl}}/fileDeleteRules

  1. Delete all the files on the given path for a given asset identifier
  2. Files last updated before the given number of days as per the rule definition will be considered for delete operation.
  3. Maximum 50 file delete (TTL) rules can be created per tenant.
  4. Only one rule per hierarchy of folder path and asset can be created.
  • Once file delete (TTL) rules is created, it's executions will run on daily or alternate day basis based on the number of records to delete as per the given request
  • Only one element corresponding to one input asset is currently allowed to be passed in the input array

Request Body

{"0"=>{"assetId"=>"<string>", "deleteAfterDays"=>30, "path"=>"/"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring