create file delete rules (Time To Live - TTL)
POST {{baseUrl}}/fileDeleteRules
- Delete all the files on the given path for a given asset identifier
- Files last updated before the given number of days as per the rule definition will be considered for delete operation.
- Maximum 50 file delete (TTL) rules can be created per tenant.
- 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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |