Unbind device from a gateway in Google Cloud Platform (GCP) using IoT Cloud Tester


Gateway devices connect its client devices to the Google Cloud Platform. Devices can be un-binded from the gateway.

IoT Cloud Tester  application provides an easy interface to unbind device from a gateway in Google Cloud platform.

To unbind device from a gateway in Google Cloud project,

  • Select the project.
  • In the 'Gateways' tab, select a gateway and press 'Bind/Unbind Devices' button.
  • Select the device to unbind.

To bind device to a gateway in GCP, a post request is made to the below URL. IoT Cloud Tester tool generates the device key for the Gateway and includes it as a post parameter.

Request sent to GCP to bind device to gateway.

POST:https://cloudiot.googleapis.com/v1/projects/iot-cloud-tutorial/locations/asia-east1/registries/reg_193129:unbindDeviceFromGateway

{

"deviceId" : "dev_952945",

"gatewayId" : "gw_32110"

}