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

ONTAP REST API Storage snaplock litigations litigation.id operations endpoints

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" '{"lh_operation.type" : "begin", "lh_operation.path" : "/a.txt"}'
  1. Removes a Legal-Hold.

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