Skip to main content
To delete a Box Hub, call the DELETE /2.0/hubs/{hub_id} endpoint with the hub ID.
The hub and its association with content are removed. The underlying files and folders in Box are not deleted.
Box Hubs endpoints require the box-version: 2025.0 header. If you omit this header, the API returns a 400 error with the message Missing required box-version header. Supported API versions: [2025.0]. For more information, see Box API versioning strategy.

Delete hub

curl -i -X DELETE "https://api.box.com/2.0/hubs/HUB_ID" \
     -H "Authorization: Bearer <ACCESS_TOKEN>" \
     -H "box-version: 2025.0"
Replace HUB_ID with the actual hub ID. A successful response has no response body (HTTP 204). The caller must have permission to delete the hub.