• Configure a soft delete policy using the dsconfig command. The soft delete configuration option requires a soft-delete policy, which enables the feature on the server. This is a required step.
    $ bin/dsconfig create-soft-delete-policy \
      --policy-name default-soft-delete-policy
  • Configure the soft delete as a global configuration property using the dsconfig command. The command sets up the soft-delete controls necessary to send them as a request. This is a required step.
    $ bin/dsconfig set-global-configuration-prop \
      --set soft-delete-policy:default-soft-delete-policy
After a successful modification, the server issues a warning that soft deletes are not enabled and that administrative action may be needed to prune older soft-deleted entries if resources are limited.