Box Developer Documentation
 
    Latest version

    Get metadata cascade policy

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

    This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.

    Retrieve a specific metadata cascade policy assigned to a folder.

    Request

    bearer [ACCESS_TOKEN]
    application/json

    Path Parameters

    stringin pathrequired
    6fd4ff89-8fc1-42cf-8b29-1890dedd26d7

    The ID of the metadata cascade policy.

    Response

    Returns a metadata cascade policy

    application/jsonClient error

    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.
    application/jsonClient error

    An unexpected client error.

    get
    Get metadata cascade policy
    You can now try out some of our APIs live, right here in the documentation.
    Log in

    Request Example

    cURL
    curl -i -X GET "https://api.box.com/2.0/metadata_cascade_policies/324324" \
         -H "authorization: Bearer <ACCESS_TOKEN>"

    Response Example

    {
      "id": "6fd4ff89-8fc1-42cf-8b29-1890dedd26d7",
      "type": "metadata_cascade_policy",
      "owner_enterprise": {
        "id": "690678",
        "type": "enterprise"
      },
      "parent": {
        "id": "1234567",
        "type": "folder"
      },
      "scope": "enterprise_123456",
      "templateKey": "productInfo"
    }