Skip to main content
DELETE
/
files
/
{file_id}
/
metadata
/
enterprise
/
securityClassification-6VMVochwUWo
Remove classification from file
curl --request DELETE \
  --url https://api.box.com/2.0/files/{file_id}/metadata/enterprise/securityClassification-6VMVochwUWo \
  --header 'Authorization: Bearer <token>'
{
  "type": "error",
  "status": 400,
  "code": "item_name_invalid",
  "message": "Method Not Allowed",
  "context_info": {
    "message": "Something went wrong"
  },
  "help_url": "https://developer.box.com/guides/api-calls/permissions-and-errors/common-errors/",
  "request_id": "abcdef123456"
}
This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.Learn more about Box SDK versioning strategy.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

file_id
string
required

The unique identifier that represents a file.

The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL https://*.app.box.com/files/123 the file_id is 123.

Response

Returns an empty response when the classification is successfully deleted.