メインコンテンツへスキップ
PATCH
/
metadata_taxonomies
/
{namespace}
/
{taxonomy_key}
/
levels
/
{level_index}
Update metadata taxonomy level
curl --request PATCH \
  --url https://api.box.com/2.0/metadata_taxonomies/{namespace}/{taxonomy_key}/levels/{level_index} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "displayName": "France",
  "description": "French Republic"
}
'
{
  "displayName": "Continent",
  "description": "Continent",
  "level": 1
}
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.

認証

Authorization
string
header
必須

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

パスパラメータ

namespace
string
必須

The namespace of the metadata taxonomy.

taxonomy_key
string
必須

The key of the metadata taxonomy.

level_index
integer
必須

The index of the metadata taxonomy level.

ボディ

application/json
displayName
string
必須

The display name of the taxonomy level.

:

"France"

description
string

The description of the taxonomy level.

:

"French Republic"

レスポンス

The updated taxonomy level.

A level in the metadata taxonomy represents a hierarchical category within the taxonomy structure.

displayName
string

The display name of the level as it is shown to the user.

:

"Continent"

description
string

A description of the level.

:

"Continent"

level
integer<int32>

An index of the level within the taxonomy. Levels are indexed starting from 1.

:

1