Add classification to file
POST https://{{api.box.com}}/2.0/files/:file_id/metadata/enterprise/securityClassification-6VMVochwUWo
Adds a classification to a file by specifying the label of the
Request Body
{"Box__Security__Classification__Key"=>"Sensitive"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"Box__Security__Classification__Key":"Sensitive","$parent":"folder_59449484661,","$template":"securityClassification-6VMVochwUWo","$scope":"enterprise_27335","$version":1,"$type":"securityClassification-6VMVochwUWo-fd31537a-0f95-4d86-9f2b-5974a29978f8","$typeVersion":5,"$canEdit":true}