Permanently deletes a retention policy.
982312
The ID of the retention policy.
Returns an empty response when the policy has been deleted.
Returns an error if the policy is non-modifiable or the user does not have the required access to perform the action.
Returns an error if the policy is not found.
An unexpected client error.
await client.retentionPolicies.deleteRetentionPolicyById(retentionPolicy.id);