jira xray - Deleting test executions in test plan using REST API

so i'm trying to figure out how to implement some sort of retention policy in Xray JIRA for test executions, i.e. deleting all test executions past some certain date. The plan is to implement an external application to periodically (maybe once a day) check and delete test executions satisfied by a policy.However, I tried using the REST API for deleting test executions (https://confluence.xpand-it.com/display/public/XRAY/Test+Plans+-+REST) but it is only disassociating the test execution with the test plan and it is not really deleted. Is deleti...Read more