Box Developer Documentation

Remove Box Skill cards from file

delete
https://api.box.com/2.0
/files/:file_id/metadata/global/boxSkillsCards

Removes any Box Skills cards metadata from a file.

Request

bearer [ACCESS_TOKEN]
application/json

Path Parameters

stringin pathrequired
12345

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

none

Returns an empty response when the cards are successfully deleted.

application/jsonClient error

Returns an error when the file does not have an instance of the Box Skill cards applied to it, or when the user does not have access to the file.

  • instance_not_found - An instance of the metadata template for Box Skill cards was not found on this file.
  • not_found - The file was not found, or the user does not have access to the file.
application/jsonClient error

Returned when the method was not allowed.

application/jsonClient error

An unexpected client error.

delete
Remove Box Skill cards from file
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

cURL
curl -i -X DELETE "https://api.box.com/2.0/files/12345/metadata/global/boxSkillsCards" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
TypeScript Gen
await client.skills.deleteBoxSkillCardsFromFile(file.id);
Python Gen
client.skills.delete_box_skill_cards_from_file(file.id)