English
cURL
curl -i -X DELETE "https://api.box.com/2.0/legal_hold_policies/324432" \ -H "authorization: Bearer <ACCESS_TOKEN>"
{ "type": "error", "status": 400, "code": "item_name_invalid", "message": "Method Not Allowed", "context_info": { "message": "Something went wrong" }, "help_url": "https://developer.box.com/guides/api-calls/permissions-and-errors/common-errors/", "request_id": "abcdef123456" }
Delete an existing legal hold policy.
This is an asynchronous process. The policy will not be fully deleted yet when the response returns.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the legal hold policy.
A blank response is returned if the policy was successfully deleted.
Was this page helpful?