|
| 1 | +# HubCollaborationsManager |
| 2 | + |
| 3 | +- [Get hub collaborations](#get-hub-collaborations) |
| 4 | +- [Create hub collaboration](#create-hub-collaboration) |
| 5 | +- [Get hub collaboration by collaboration ID](#get-hub-collaboration-by-collaboration-id) |
| 6 | +- [Update hub collaboration](#update-hub-collaboration) |
| 7 | +- [Remove hub collaboration](#remove-hub-collaboration) |
| 8 | + |
| 9 | +## Get hub collaborations |
| 10 | + |
| 11 | +Retrieves all collaborations for a hub. |
| 12 | + |
| 13 | +This operation is performed by calling function `getHubCollaborationsV2025R0`. |
| 14 | + |
| 15 | +See the endpoint docs at |
| 16 | +[API Reference](https://developer.box.com/reference/v2025.0/get-hub-collaborations/). |
| 17 | + |
| 18 | +_Currently we don't have an example for calling `getHubCollaborationsV2025R0` in integration tests_ |
| 19 | + |
| 20 | +### Arguments |
| 21 | + |
| 22 | +- queryParams `GetHubCollaborationsV2025R0QueryParams` |
| 23 | + - Query parameters of getHubCollaborationsV2025R0 method |
| 24 | +- optionalsInput `GetHubCollaborationsV2025R0OptionalsInput` |
| 25 | + - |
| 26 | + |
| 27 | +### Returns |
| 28 | + |
| 29 | +This function returns a value of type `HubCollaborationsV2025R0`. |
| 30 | + |
| 31 | +Retrieves the collaborations associated with the specified hub. |
| 32 | + |
| 33 | +## Create hub collaboration |
| 34 | + |
| 35 | +Adds a collaboration for a single user or a single group to a hub. |
| 36 | + |
| 37 | +Collaborations can be created using email address, user IDs, or group IDs. |
| 38 | + |
| 39 | +This operation is performed by calling function `createHubCollaborationV2025R0`. |
| 40 | + |
| 41 | +See the endpoint docs at |
| 42 | +[API Reference](https://developer.box.com/reference/v2025.0/post-hub-collaborations/). |
| 43 | + |
| 44 | +_Currently we don't have an example for calling `createHubCollaborationV2025R0` in integration tests_ |
| 45 | + |
| 46 | +### Arguments |
| 47 | + |
| 48 | +- requestBody `HubCollaborationCreateRequestV2025R0` |
| 49 | + - Request body of createHubCollaborationV2025R0 method |
| 50 | +- optionalsInput `CreateHubCollaborationV2025R0OptionalsInput` |
| 51 | + - |
| 52 | + |
| 53 | +### Returns |
| 54 | + |
| 55 | +This function returns a value of type `HubCollaborationV2025R0`. |
| 56 | + |
| 57 | +Returns a new hub collaboration object. |
| 58 | + |
| 59 | +## Get hub collaboration by collaboration ID |
| 60 | + |
| 61 | +Retrieves details for a hub collaboration by collaboration ID. |
| 62 | + |
| 63 | +This operation is performed by calling function `getHubCollaborationByIdV2025R0`. |
| 64 | + |
| 65 | +See the endpoint docs at |
| 66 | +[API Reference](https://developer.box.com/reference/v2025.0/get-hub-collaborations-id/). |
| 67 | + |
| 68 | +_Currently we don't have an example for calling `getHubCollaborationByIdV2025R0` in integration tests_ |
| 69 | + |
| 70 | +### Arguments |
| 71 | + |
| 72 | +- hubCollaborationId `string` |
| 73 | + - The ID of the hub collaboration. Example: "1234" |
| 74 | +- optionalsInput `GetHubCollaborationByIdV2025R0OptionalsInput` |
| 75 | + - |
| 76 | + |
| 77 | +### Returns |
| 78 | + |
| 79 | +This function returns a value of type `HubCollaborationV2025R0`. |
| 80 | + |
| 81 | +Returns a hub collaboration object. |
| 82 | + |
| 83 | +## Update hub collaboration |
| 84 | + |
| 85 | +Updates a hub collaboration. |
| 86 | +Can be used to change the hub role. |
| 87 | + |
| 88 | +This operation is performed by calling function `updateHubCollaborationByIdV2025R0`. |
| 89 | + |
| 90 | +See the endpoint docs at |
| 91 | +[API Reference](https://developer.box.com/reference/v2025.0/put-hub-collaborations-id/). |
| 92 | + |
| 93 | +_Currently we don't have an example for calling `updateHubCollaborationByIdV2025R0` in integration tests_ |
| 94 | + |
| 95 | +### Arguments |
| 96 | + |
| 97 | +- hubCollaborationId `string` |
| 98 | + - The ID of the hub collaboration. Example: "1234" |
| 99 | +- requestBody `HubCollaborationUpdateRequestV2025R0` |
| 100 | + - Request body of updateHubCollaborationByIdV2025R0 method |
| 101 | +- optionalsInput `UpdateHubCollaborationByIdV2025R0OptionalsInput` |
| 102 | + - |
| 103 | + |
| 104 | +### Returns |
| 105 | + |
| 106 | +This function returns a value of type `HubCollaborationV2025R0`. |
| 107 | + |
| 108 | +Returns an updated hub collaboration object. |
| 109 | + |
| 110 | +## Remove hub collaboration |
| 111 | + |
| 112 | +Deletes a single hub collaboration. |
| 113 | + |
| 114 | +This operation is performed by calling function `deleteHubCollaborationByIdV2025R0`. |
| 115 | + |
| 116 | +See the endpoint docs at |
| 117 | +[API Reference](https://developer.box.com/reference/v2025.0/delete-hub-collaborations-id/). |
| 118 | + |
| 119 | +_Currently we don't have an example for calling `deleteHubCollaborationByIdV2025R0` in integration tests_ |
| 120 | + |
| 121 | +### Arguments |
| 122 | + |
| 123 | +- hubCollaborationId `string` |
| 124 | + - The ID of the hub collaboration. Example: "1234" |
| 125 | +- optionalsInput `DeleteHubCollaborationByIdV2025R0OptionalsInput` |
| 126 | + - |
| 127 | + |
| 128 | +### Returns |
| 129 | + |
| 130 | +This function returns a value of type `undefined`. |
| 131 | + |
| 132 | +A blank response is returned if the hub collaboration was |
| 133 | +successfully deleted. |
0 commit comments