Unassign legal hold policy

delete
https://api.box.com/2.0
/legal_hold_policy_assignments/:legal_hold_policy_assignment_id

Remove a legal hold from an item.

This is an asynchronous process. The policy will not be fully removed yet when the response returns.

Request

application/json

Path Parameters

Response

none

A blank response is returned if the assignment was successfully deleted.

application/jsonClient error

An unexpected client error.

delete
Unassign legal hold policy
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

cURL
curl -X DELETE https://api.box.com/2.0/legal_hold_policy_assignments/753465 \
     -H 'Authorization: Bearer <ACCESS_TOKEN>'
.NET
await client.LegalHoldPoliciesManager.DeleteAssignmentAsync("22222");
Java
BoxLegalHoldAssignment assignment = new BoxLegalHoldAssignment(api, id);
assignment.delete();
Python
assignment_id = '1111'
client.legal_hold_policy_assignment(assignment_id).delete()
Node
client.legalHoldPolicies.deleteAssignment('22222')
	.then(() => {
		// deletion started — no value returned
	});
iOS
client.legalHolds.deletePolicyAssignment(assignmentId: "1234") { result: Result<Void, BoxSDKError>} in
    guard case .success = result else {
        print("Error deleting legal hold policy assignment")
        return
    }
    print("Legal hold policy assignment successfully deleted")
}