> ## Documentation Index
> Fetch the complete documentation index at: https://developer.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

```sh cURL theme={null}
curl -i -X GET "https://api.box.com/2.0/legal_hold_policies" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
```

```typescript Node/TypeScript v10 theme={null}
await client.legalHoldPolicies.getLegalHoldPolicies();
```

```python Python v10 theme={null}
client.legal_hold_policies.get_legal_hold_policies()
```

```cs .NET v10 theme={null}
await client.LegalHoldPolicies.GetLegalHoldPoliciesAsync();
```

```swift Swift v10 theme={null}
try await client.legalHoldPolicies.getLegalHoldPolicies()
```

```java Java v10 theme={null}
client.getLegalHoldPolicies().getLegalHoldPolicies()
```

```java Java v5 theme={null}
Iterable<BoxLegalHoldPolicy.Info> policies = BoxLegalHoldPolicy.getAll(api);
for (BoxLegalHoldPolicy.Info policyInfo : policies) {
    // Do something with the legal hold policy.
}
```

```python Python v4 theme={null}
policies = client.get_legal_hold_policies()
for policy in policies:
    print(f'Legal Hold Policy "{policy.name}" has ID {policy.id}')
```

```cs .NET v6 theme={null}
BoxCollectionMarkerBased<BoxLegalHoldPolicy> policies = await client.LegalHoldPoliciesManager
    .GetListLegalHoldPoliciesAsync();
```

```javascript Node v4 theme={null}
client.legalHoldPolicies.getAll({policy_name: 'Important'})
	.then(policies => {
		/* policies -> {
			entries: 
			[ { type: 'legal_hold_policy',
				id: '11111',
				policy_name: 'Important Policy 1' },
				{ type: 'legal_hold_policy',
				id: '22222',
				policy_name: 'Important Policy 2' } ],
			limit: 100,
			order: [ { by: 'policy_name', direction: 'ASC' } ] }
		*/
	});
```

## Required Scopes

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

**RELATED APIS**

**RELATED GUIDES**
