Box Developerドキュメントの新しいベータ版サイトがまもなくリリースされる予定です。最新の開発者向けガイド、APIリファレンス、AI搭載の検索により、Boxを使用した迅速な開発をサポートします。更新情報については今しばらくお待ちください。
Updates an existing metadata taxonomy node.
The schema representing the updated taxonomy node.
リクエストのパラメータまたは本文が無効な場合に返されます。
bad_request - 本文に有効なリクエストが含まれていない場合に返されます。多くの場合、このレスポンスには、不足しているフィールドに関する追加の詳細が含まれます。Returned when the user does not have the permission to modify the metadata taxonomy. This can happen for a few reasons, most commonly when the user does not have (co-)admin permissions, or the user doesn't have access to the provided namespace.
予期しないクライアントエラー。
await client.MetadataTaxonomies.UpdateMetadataTaxonomyNodeAsync(namespaceParam: namespaceParam, taxonomyKey: taxonomyKey, nodeId: countryNode.Id, requestBody: new UpdateMetadataTaxonomyNodeRequestBody() { DisplayName = "Poland UPDATED" });await client.metadataTaxonomies.updateMetadataTaxonomyNode(
namespace,
taxonomyKey,
countryNode.id,
{
requestBody: {
displayName: 'Poland UPDATED',
} satisfies UpdateMetadataTaxonomyNodeRequestBody,
} satisfies UpdateMetadataTaxonomyNodeOptionalsInput,
);{
"id": "14d3d433-c77f-49c5-b146-9dea370f6e32",
"ancestors": [
{
"displayName": "France",
"id": "14d3d433-c77f-49c5-b146-9dea370f6e32",
"level": 2
}
],
"displayName": "France",
"level": 2,
"nodePath": [
"99df4513-7102-4896-8228-94635ee9d330"
],
"parentId": "99df4513-7102-4896-8228-94635ee9d330"
}