Organization Hubs
Run a typed hub action
/hardware/v1/hubs/{serialNumber}/actions
Run one allowlisted action on a hub by serial number. Success returns the hub's result; a hub error returns the hub's HTTP status with a Connect error body.
Requires a bearer access token for this API. See Authentication.
Parameters
Path parameter
Request body
Option 1: object
Option 2: object
Option 3: object
Option 4: object
Option 5: object
Option 6: object
Option 7: object
Option 8: object
Option 9: object
Option 10: object
Option 11: object
Responses
Metadata for paginated responses. This includes total count, limit, and continuation token.
The hub's result. getPortSchedules returns the port schedules and getPowerLimits the power limits. enterAppleDfu and rebootAppleDevices return one outcome per port for allPorts, otherwise a boolean. Other actions return a boolean acknowledgement, or an empty object when the hub returns no body.
Unauthorized
One of: 401
One of: "Unauthorized"
Forbidden: the token is valid but does not allow this request
Error
One of: 500
One of: "Unauthorized"
Try it
curl -X POST "https://connect.cambrionix.com/api/hardware/v1/hubs/{serialNumber}/actions" \ -H "Authorization: Bearer $CONNECT_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "action": "getComputerDetails", "path": "string" }'