Box Developer Documentation
Latest version

Remove Box Hub collaboration

delete
https://api.box.com/2.0
/hub_collaborations/:hub_collaboration_id

Deletes a single Box Hub collaboration.

Request

bearer [ACCESS_TOKEN]
application/json

Request Headers

stringin headerrequired

Version header.

Value is always 2025.0

Path Parameters

stringin pathrequired
1234

The ID of the hub collaboration.

Response

none

A blank response is returned if the Box Hub collaboration was successfully deleted.

application/jsonClient error

Returns an error if the Box Hub collaboration could not be found, or the authenticated user does not have access to the Box Hub collaboration.

application/jsonClient error

An unexpected client error.

delete
Remove Box Hub collaboration
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

TypeScript Gen
await client.hubCollaborations.deleteHubCollaborationByIdV2025R0(
  createdCollaboration.id,
);
Python Gen
client.hub_collaborations.delete_hub_collaboration_by_id_v2025_r0(
    created_collaboration.id
)
.NET Gen
await client.HubCollaborations.DeleteHubCollaborationByIdV2025R0Async(hubCollaborationId: createdCollaboration.Id);
Swift Gen (Beta)
try await client.hubCollaborations.deleteHubCollaborationByIdV2025R0(hubCollaborationId: createdCollaboration.id)
Java Gen (Beta)
client.getHubCollaborations().deleteHubCollaborationByIdV2025R0(createdCollaboration.getId())