Skip to main content
PATCH
/
metadata_taxonomies
/
{namespace}
/
{taxonomy_key}
/
nodes
/
{node_id}
cURL
curl --request PATCH \
  --url https://api.box.com/2.0/metadata_taxonomies/{namespace}/{taxonomy_key}/nodes/{node_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "displayName": "France"
}
'
{
  "id": "14d3d433-c77f-49c5-b146-9dea370f6e32",
  "displayName": "France",
  "level": 2,
  "parentId": "99df4513-7102-4896-8228-94635ee9d330",
  "nodePath": [
    "99df4513-7102-4896-8228-94635ee9d330"
  ],
  "ancestors": [
    {
      "id": "14d3d433-c77f-49c5-b146-9dea370f6e32",
      "displayName": "France",
      "level": 2
    }
  ]
}
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

namespace
string
required

The namespace of the metadata taxonomy.

taxonomy_key
string
required

The key of the metadata taxonomy.

node_id
string
required

The identifier of the metadata taxonomy node.

Body

application/json
displayName
string

The display name of the taxonomy node.

Example:

"France"

Response

The schema representing the updated taxonomy node.

A node object for metadata taxonomy that can be used in metadata templates.

id
string
required

A unique identifier of the metadata taxonomy node.

Example:

"14d3d433-c77f-49c5-b146-9dea370f6e32"

displayName
string
required

The display name of the metadata taxonomy node.

Example:

"France"

level
integer
required

An index of the level to which the node belongs.

Example:

2

parentId
string

The identifier of the parent node.

Example:

"99df4513-7102-4896-8228-94635ee9d330"

nodePath
string[]

An array of identifiers for all ancestor nodes.
Not returned for root-level nodes.

Example:
["99df4513-7102-4896-8228-94635ee9d330"]
ancestors
Metadata taxonomy ancestor · object[]

An array of objects for all ancestor nodes.
Not returned for root-level nodes.