Retrieves all Box Hubs for a given enterprise.
Admins or Hub Co-admins of an enterprise with GCM scope can make this call.
Version header.
Value is always 2025.0
ASCThe direction to sort results in. This can be either in alphabetical ascending
(ASC) or descending (DESC) order.
Value is one of ASC,DESC
10001000The maximum number of items to return per page.
JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioViiDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.
BoxThe query string to search for Box Hubs.
name"relevance"The field to sort results by.
Possible values include name, updated_at,
last_accessed_at, view_count, and relevance.
Default is relevance.
Returns all Box Hubs for the given user or enterprise.
An unexpected client error.
await client.hubs.getEnterpriseHubsV2025R0({
sort: 'name',
direction: 'ASC' as GetEnterpriseHubsV2025R0QueryParamsDirectionField,
} satisfies GetEnterpriseHubsV2025R0QueryParams);client.hubs.get_enterprise_hubs_v2025_r0(
sort="name", direction=GetEnterpriseHubsV2025R0Direction.ASC
)await client.Hubs.GetEnterpriseHubsV2025R0Async(queryParams: new GetEnterpriseHubsV2025R0QueryParams() { Sort = "name", Direction = GetEnterpriseHubsV2025R0QueryParamsDirectionField.Asc });try await client.hubs.getEnterpriseHubsV2025R0(queryParams: GetEnterpriseHubsV2025R0QueryParams(sort: "name", direction: GetEnterpriseHubsV2025R0QueryParamsDirectionField.asc))client.getHubs().getEnterpriseHubsV2025R0(new GetEnterpriseHubsV2025R0QueryParams.Builder().sort("name").direction(GetEnterpriseHubsV2025R0QueryParamsDirectionField.ASC).build()){
"entries": [
{
"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
}
],
"limit": 1000,
"next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
}