Unlink one or more projects from a device.

The project_id parameter can be:

  • a Project ID to unlink a single project.
  • an array of Project ID’s to unlink multiple projects.
  • a string of “all” to unlink all projects from the device.

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
optional

The project id of the project to unlink or an array of project ids to be unlinked from the device or a string, “all”, to unlinke all projects from the device.

Validations:

  • Must be a String