Box Developer Documentation

A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.

List All Legal Hold Policies

Guides Legal Holds List All Legal Hold Policies
Edit this page

List All Legal Hold Policies

To list all Legal Hold Policies that have been created in an enterprise, call the GET /legal_hold_policies API endpoint.

cURL
curl -i -X GET "https://api.box.com/2.0/legal_hold_policies" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
Node/TypeScript v10
await client.legalHoldPolicies.getLegalHoldPolicies();
Python v10
client.legal_hold_policies.get_legal_hold_policies()
.NET v10
await client.LegalHoldPolicies.GetLegalHoldPoliciesAsync();
Swift v10
try await client.legalHoldPolicies.getLegalHoldPolicies()
Java v10
client.getLegalHoldPolicies().getLegalHoldPolicies()
.NET v6
await client.LegalHoldPolicies.GetLegalHoldPoliciesAsync();
Node v4
await client.legalHoldPolicies.getLegalHoldPolicies();

Required Scopes

Before using any of the Legal Hold APIs, an application must have the right scopes enabled. See Required Scopes for more details.