Unlink one or more devices from a project.

The unit_id parameter can be: * a Unit ID to unlink a single device. * an array of Unit ID’s to unlink multiple devices. * a string of “all” to unlink all devices from the project.

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