Remove a legal hold from an item.
This is an asynchronous process. The policy will not be fully removed yet when the response returns.
753465
The ID of the legal hold policy assignment
A blank response is returned if the assignment was successfully deleted.
An unexpected client error.
curl -X DELETE https://api.box.com/2.0/legal_hold_policy_assignments/753465 \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
await client.LegalHoldPoliciesManager.DeleteAssignmentAsync("22222");
BoxLegalHoldAssignment assignment = new BoxLegalHoldAssignment(api, id);
assignment.delete();
assignment_id = '1111'
client.legal_hold_policy_assignment(assignment_id).delete()
client.legalHoldPolicies.deleteAssignment('22222')
.then(() => {
// deletion started — no value returned
});
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")
}