Manage Applications

    Delete legal hold policy

    delete
    https://api.box.com/2.0
    /legal_hold_policies/:legal_hold_policy_id

    Delete an existing legal hold policy.

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

    Request

    application/json

    Path Parameters

    Response

    none

    A blank response is returned if the policy 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_policies/324432 \
         -H "Authorization: Bearer <ACCESS_TOKEN>"
    .NET
    await client.LegalHoldPoliciesManager.DeleteLegalHoldPolicyAsync("11111");
    Java
    BoxLegalHoldPolicy policy = new BoxLegalHoldPolicy(api, id);
    policy.delete();
    Python
    client.legal_hold_policy(policy_id='12345').delete()
    print('Legal hold policy was deleted!')
    Node
    client.legalHoldPolicies.delete('11111')
    	.then(() => {
    		// deletion started — no value returned	
    	});