Does HCP automatically purge/remove documents based on some retention policy? I was going through REST Developer Guide and saw that HCP has a system metadata called 'retention' which can be set. However it looks like this is different from what i need, since what this does (as per the doc) is that 'HCP will reject attempts to delete an object during its retention period'.
This works perfectly as in any attempt to remove the resource fails and it allows the delete only after the retention period. Is there any trigger in HCP which can be set that automatically removes the resource after the retention period?