Link one or more devices to a project.

The unit_id parameter can be: * a Unit ID to link a single device. * an array of Unit ID’s to link multiple devices.

Examples

{
  "status": "success",
  "message": "success",
  "result": [
      DEVICE_ID_1,
      DEVICE_ID_2
  ]
}

Params

Param name Description
project_id
required

The Project ID of the project.

Validations:

  • Must be a Integer

unit_id
required

The Unit ID of the device.

Validations:

  • Must be a String