Deletes a metadata cascade policy.
The ID of the metadata cascade policy.
Returns an empty response when the policy is successfully deleted.
Returns an error when the policy can not be found or the user does not have access to the folder.
instance_not_found- The policy could not be found
not_found- The folder could not be found or the user does not have access to the folder.
An unexpected client error.
curl -i -X DELETE "https://api.box.com/2.0/metadata_cascade_policies/324324" \ -H "Authorization: Bearer <ACCESS_TOKEN>"
String cascadePolicyID = "e4392a41-7de5-4232-bdf7-15e0d6bba067"; BoxMetadataCascadePolicy policyToDelete = new BoxMetadataCascadePolicy(api, cascadePolicyID); policyToDelete.delete();
client.metadata_cascade_policy(policy_id='84113349-794d-445c-b93c-d8481b223434').delete() print('Cascade policy successfully removed')