---
title: "Create a Legal Hold policy - v4"
method: POST
path: "/legalholds/v4/policies"
tags: ["Legal Hold"]
---

# Create a Legal Hold policy - v4

`POST /legalholds/v4/policies`

Creates a Legal Hold policy in Druva inSync.

## Request body

- CreateLegalHoldPolicyRequest
  - `name` string, required — Name of Legal Hold policy to be created. Example - Feb_2021.
  - `legalHoldType` string — Type of Legal Hold to be created. This parameter is optional. If not specified it is set to '--'. Example- Human Resources.
  - `webDavAccessType` 'All Collected Data' | 'Last Collected Data' | 'Data within a Date Range', required — The data access type of the legal hold policy. Use any of the following:
  - `startDate` string, mmm DD YYYY, required — The start date in the range in which the data is to be accessed if webdav access type selected is 'Data within a Date Range'. This parameter is optional if webdav access type is not 'Data within a Date Range'. Example - Apr 11 2021
  - `endDate` string, mmm DD YYYY, required — The end date in the range in which the data is to be accessed if webdav access type selected is 'Data within a Date Range'. This parameter is optional if webdav access type is not 'Data within a Date Range'. Example - May 11 2021
  - `deletedFilesOnly` true | false — Use 'true' if you want to access only deleted files. Otherwise, use 'false'. This parameter is optional.
  - `isADCEnabled` true | false — Use 'true' if you want to enable Additional Data Collection for this Legal Hold. Otherwise, use 'false'. This parameter is optional.
  - `collectionFrequency` 'One time' | 'Recurring' — Choose collection frequency of additional data collection from one of the following option. To use this parameter isADCEnabled should be set to true. This parameter is optional.
  - `accessBackupData` boolean — Use 'true' if you want to enable Backup Data Access for this Legal Hold policy. The accessBackupData and accessAdditionalData parameters cannot be set to false simultaneously. The default value is set to 'true'.
  - `accessAdditionalData` boolean — Use 'true' if you want to enable Additional Data Collection access for this Legal Hold policy. The isADCEnabled value must be set to 'true' to enable this option. The default value is set to 'false'.

## Response `200`

- CreateLegalHoldPolicyResponse
  - `policyId` integer — The unique ID of the created Legal Hold policy. Example - 12359

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/versions/2af2bf148b25/schema)
