Manage Applications

    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.

    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
    	});