Execute snapshot retention policy
New API reference
For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
Deletes any snapshots that are expired according to the policy’s retention rules.
If the {es} {security-features} are enabled, you must have the manage_slm
cluster privilege to use this API. For more information, see
[security-privileges].
Manually applies the retention policy to force immediate removal of expired snapshots. The retention policy is normally applied according to its schedule.