Hubを更新します。タイトル、説明、またはHubの設定の変更に使用できます。
Version header.
次の値に固定: 2025.0
12345
Hubを表す一意の識別子。
HubのIDを確認するには、ウェブアプリでこのHubにアクセスして、URLからIDをコピーします。たとえば、URLがhttps://*.app.box.com/hubs/123
の場合、hub_id
は123
です。
true
所有者以外のユーザーが他のユーザーをHubに招待できるかどうかを示します。
"This is a description of the Hub."
Hubの説明。
true
AI機能がHubに対して有効になっているかどうかを示します。
true
コラボレーションが企業に制限されているかどうかを示します。
"Hub Title"
50
Hubのタイトル。空にすることはできません。50文字未満で指定する必要があります。
await client.hubs.updateHubByIdV2025R0(hubId, {
title: newHubTitle,
description: newHubDescription,
} satisfies HubUpdateRequestV2025R0);
client.hubs.update_hub_by_id_v2025_r0(
hub_id, title=new_hub_title, description=new_hub_description
)
await client.Hubs.UpdateHubByIdV2025R0Async(hubId: hubId, requestBody: new HubUpdateRequestV2025R0() { Title = newHubTitle, Description = newHubDescription });
{
"id": "12345",
"type": "hubs",
"can_non_owners_invite": true,
"can_shared_link_be_created": true,
"created_at": "2012-12-12T10:53:43Z",
"created_by": {
"id": "11446498",
"type": "user",
"login": "ceo@example.com",
"name": "Aaron Levie"
},
"description": "All the contracts for the company.",
"is_ai_enabled": true,
"is_collaboration_restricted_to_enterprise": true,
"title": "Contracts",
"updated_at": "2012-12-12T10:53:43Z",
"updated_by": {
"id": "11446498",
"type": "user",
"login": "ceo@example.com",
"name": "Aaron Levie"
},
"view_count": 506
}