Join the first BoxWorks Hackathon for Good - customers, partners, and the developer community are welcome to participate in the 48 hour Hack to benefit The Nature Conservancy.

Learn more and register!

List metadata cascade policies

List metadata cascade policies

Metadata cascade policies can be listed for a folder by calling the GET /metadata_cascade_policies API endpoint with a folder_id.

curl -i -X GET "" \
     -H "Authorization: Bearer <ACCESS_TOKEN>"
BoxCollectionMarkerBased<BoxMetadataCascadePolicy> metadataCascadePolicies = await client.MetadataCascadePolicyManager.GetAllMetadataCascadePoliciesAsync("12345");
String folderID = "2222";
BoxFolder folder = new BoxFolder(api, folderID);
Iterable<BoxMetadataCascadePolicy.Info> metadataCascadePolicies = folder.getMetadataCascadePolicies();
for (BoxMetadataCascadePolicy.Info policyInfo : metadataCascadePolicies) {
    // take action on policy here
cascade_policies = client.folder(folder_id='22222').get_metadata_cascade_policies()
for policy in cascade_policies:
    print(f'Metadata template {policy.templateKey} is cascaded')
var folderID = '22222';
	.then(cascadePolicies => {
		/* cascadePolicies -> {
			limit: 100,
			entries: [
					id: '84113349-794d-445c-b93c-d8481b223434',
					type: 'metadata_cascade_policy',
					owner_enterprise: {
						type: 'enterprise',
						id: '11111'
					parent: {
						type: 'folder',
						id: '22222'
					scope: 'enterprise_11111',
					templateKey: 'testTemplate'
			next_marker: null,
			prev_marker: null


This API uses marker-based pagination and can return a next_marker value in the response body to indicate that more templates might be available.