Delete cascade policy

delete
https://api.box.com/2.0
/metadata_cascade_policies/:metadata_cascade_policy_id

Deletes a metadata cascade policy.

Request

application/json

Path Parameters

stringin pathrequired
324324

The ID of the metadata cascade policy.

Response

none

Returns an empty response when the policy is 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/metadata_cascade_policies/324324 \
     -H "Authorization: Bearer <ACCESS_TOKEN>"
Java
String cascadePolicyID = "e4392a41-7de5-4232-bdf7-15e0d6bba067";
BoxMetadataCascadePolicy policyToDelete = new BoxMetadataCascadePolicy(api, cascadePolicyID);
policyToDelete.delete();
Python
client.metadata_cascade_policy(policy_id='84113349-794d-445c-b93c-d8481b223434').delete()
print('Cascade policy successfully removed')
Node
var policyID = '84113349-794d-445c-b93c-d8481b223434';
client.metadata.deleteCascadePolicy(policyID)
	.then(() => {
		// deletion succeeded — no value returned
	});