Skip to main content
REST API reference
A newer release of this product is available.

Manage legal-hold operations

Manage legal-hold operations for specified litigation IDs to ensure compliance and data integrity during legal proceedings. Use these endpoints to add or remove legal holds on files within your ONTAP environment.

Manages the legal-hold operations for the specified litigation ID.

Examples

  1. Adds a Legal-Hold.

 POST "/api/storage/snaplock/litigations/f8a67b60-4461-11e9-b327-0050568ebef5:l1/operations" '{"type" : "begin", "path" : "/a.txt"}'
  1. Removes a Legal-Hold.

 POST "/api/storage/snaplock/litigations/f8a67b60-4461-11e9-b327-0050568ebef5:l1/operations" '{"type" : "end", "path" : "/a.txt"}'