Manage Applications

    Delete folder metadata

    delete
    https://api.box.com/2.0
    /folders/:folder_id/metadata/:scope/:template_key

    Deletes a piece of folder metadata.

    Request

    application/json

    Path Parameters

    stringin pathrequired
    0

    The unique identifier that represent a folder.

    The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the url https://*.app.box.com/folder/123 the folder_id is 123.

    The root folder of a Box account is always represented by the ID 0.

    stringin pathrequired
    enterprise_27335

    The scope of the metadata template

    Value is one of "global", "enterprise_<id>"

    stringin pathrequired
    blueprintTemplate

    The name of the metadata template

    Response

    none

    Returns an empty response when the metadata 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/folders/4353455/metadata/enterprise_27335/blueprintTemplate \
         -H "Authorization: Bearer <ACCESS_TOKEN>"
    .NET
    await client.MetadataManager.DeleteFolderMetadataAsync("11111", "enterprise", "marketingCollateral");
    Java
    BoxFolder folder = new BoxFolder(api, "id");
    folder.deleteMetadata("myMetadataTemplate");
    Python
    client.folder(folder_id='11111').metadata(scope='enterprise', template='myMetadata').delete()
    Node
    client.folders.deleteMetadata('67890', client.metadata.scopes.GLOBAL, client.metadata.templates.PROPERTIES)
    	.then(() => {
    		// removal succeeded — no value returned
    	});