Link one or more projects to a device.

The project_id parameter can be: * a Project ID to link a single project. * an array of Project ID’s to unlink multiple projects.

Examples

{
  "status": "success",
  "message": "success",
  "result": [
      PROJECT_ID_1,
      PROJECT_ID_2
  ]
}

Params

Param name Description
device_id
required

The device’s Id or device Unit ID.

Validations:

  • Must be a String

project_id
required

The project id or array of project ids.

Validations:

  • Must be a String