Update a single custom info entry for device
PATCH/api/v1/devices/{deviceId}/custom-info/{key}
Update the value of a specific custom info key for the specified device.
If the key does not exist, a 404 Not Found will be returned.
After update, returns all custom info entries of the device.
Usage
PATCH /devices/{deviceId}/custom-info/{key}
Parameters
deviceId(string, required): the ID of the device.key(string, required): the key of the custom info entry.input(DeviceCustomInfoPatchDto, required): JSON object containing the new value.
Responses
200 OK: update successful, returns all custom info entries.404 Not Found: key not found.
Security
This API requires authentication.
Request
Responses
- 200
- 403
OK
Forbidden