Box Developerドキュメント
ベータ

Delete hub

delete
https://api.box.com/2.0
/hubs/:hub_id

Deletes a single hub.

リクエスト

bearer [ACCESS_TOKEN]
application/json

リクエストヘッダー

stringヘッダー内必須

Version header.

次の値に固定: 2025.0

パスパラメータ

stringパス内必須
12345

The unique identifier that represent a hub.

The ID for any hub can be determined by visiting this hub in the web application and copying the ID from the URL. For example, for the URL https://*.app.box.com/hubs/123 the hub_id is 123.

レスポンス

none

A blank response is returned if the hub was successfully deleted.

Authorizationヘッダーで指定されているアクセストークンが認識されないか、指定されていない場合に返されます。

Returned if the hub is not found or has already been deleted, or the user does not have access to the hub.

予期しないクライアントエラー。

delete
Delete hub
このドキュメント内で一部のAPIを試せるようになりました。
ログイン

リクエストの例

TypeScript Gen
await client.hubs.deleteHubByIdV2025R0(hub.id);
Python Gen
client.hubs.delete_hub_by_id_v2025_r0(hub.id)
.NET Gen
await client.Hubs.DeleteHubByIdV2025R0Async(hubId: hub.Id);