Updates a device.
Note: This is a regional API.
You can find the URL, SystemKey, and token required in the call by clicking API Keys (key icon) at the top-right of the Registry Details page. Use the Registry Keys section.
HTTP request
PATCH {URL}/api/v/4/webhook/execute/{SystemKey}/cloudiot_devices
Query parameters
Parameters | |
---|---|
|
The device’s name. For example, or
The device’s name can be set to the deviceId or numId (i.e., without the project, location, and registry info. prepended). |
|
Only updates the A comma-separated list of fully qualified field names. |
Header parameters
Parameters | |
---|---|
| See the note at the start of this document on where to find the token. |
Request body
The request body contains a device instance.
Response status codes
Code | Meaning |
---|---|
200 | Success |
Response body
If successful, the response body contains a device instance.