Box Developer Documentation
Beta

Delete hub

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

Deletes a single hub.

Request

bearer [ACCESS_TOKEN]
application/json

Request Headers

stringin headerrequired

Version header.

Value is always 2025.0

Path Parameters

stringin pathrequired
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.

Response

none

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

application/jsonClient error

Returned when the access token provided in the Authorization header is not recognized or not provided.

application/jsonClient error

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

application/jsonClient error

An unexpected client error.

delete
Delete hub
You can now try out some of our APIs live, right here in the documentation.
Log in