Hello,
I looked into the product documents and the REST Management API document but I couldn't find any features to manipulate the revision history. It seems we have no such feature to clean up the long list of revision history unfortunately.
How about re-creating the policy as a new one?
- Export the policy to a file
- Rename it as backup
- Import the exported file as a new policy
- Remove the backup (It is irreversible!)
These steps will be a little complicated when the policy is in a Published service because the properties of the service aren't exported with the policy itself. We need to configure the new service manually same as the old one.
Regards,
Seiji