Update Device Metadata Value

You can update the value of any single-value (text, number, hostspot, device name, list, int, imei, iccid) device meta field using its identifier.

GET https://{server_address}/external/api/device/meta/update?token={token}&metaFieldId={metaFieldId}&value={metaFieldValue}

Example

https://fra1.blynk.cloud/external/api/device/meta/update?token=EzHOlVG4dOdkPozcZutxK0AlkrsJAVff&metaFieldId=3&value=Sample+value

Response

Success

200 OK

Invalid token error

400 Bad Requets

{"error":{"message":"Invalid token."}}

Wrong metafield identifier format

400 Bad Requets

{"error":{"message":"Wrong metaField format"}}

Metafield is not found

400 Bad Requets

{"error":{"message":"MetaField doesn't exist"}}

Wrong metafield value

400 Bad Requets

{"error":{"message":"Wrong value"}}

Last updated

Was this helpful?