Remove metadata from an item
Remove metadata from an item
Removing an instance of a metadata template assigned to a file or
folder can be done using the item's id
, and the template's templateKey
and scope
.
Remove metadata from an file
Deleting an instance of a metadata template from a file be achieved by calling
the DELETE /files/:file_id/metadata/:templateKey/schema
API.
curl -i -X DELETE "https://api.box.com/2.0/files/12345/metadata/enterprise_27335/blueprintTemplate" \
-H "authorization: Bearer <ACCESS_TOKEN>"
This API returns a 204 No Content
API response with no response body when
the instance has been successfully removed from the file.
Remove metadata from an folder
Deleting an instance of a metadata template from a folder be achieved by calling
the DELETE /folders/:folder_id/metadata/:templateKey/schema
API.
curl -i -X DELETE "https://api.box.com/2.0/folders/4353455/metadata/enterprise_27335/blueprintTemplate" \
-H "authorization: Bearer <ACCESS_TOKEN>"
This API returns a 204 No Content
API response with no response body when
the instance has been successfully removed from the folder.