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.
{
"status": "success",
"message": "success",
"result": [
PROJECT_ID_1,
PROJECT_ID_2
]
}
| Param name | Description |
|---|---|
|
device_id required |
The device’s Id or device Unit ID. Validations:
|
|
project_id required |
The project id or array of project ids. Validations:
|