Edit Device
Edit Device
PUT https://{server_address}/api/v1/organization/device
Query Parameters
Name
Type
Description
deviceId*
1
Device identifier. Should be a valid integer.
Headers
Name
Type
Description
Authorization*
Bearer {access_token}
Content-Type*
application/json
Request Body
Name
Type
Description
name*
My Awesome Device
Device name. Should be up to 50 symbols in length and may contains only letters, digits, spaces, apostrophes, underscores and hyphens.
{
"id": 165,
"templateId": 353,
"orgId": 577,
"name": "My awesome device",
"token": "etAxiiiYlDv4j7WCeb1pKW2Ck7UGWpgl",
"activatedAt": 1702480139859,
"ownerUserId": 879,
"hardwareInfo": {
"version": "1.0.0",
"fwType": "TMPL0NqfCLjWX",
"blynkVersion": "1.0.0",
"boardType": "ESP8266",
"build": "1",
"templateId": "TMPL0NqfCLjWX"
}
}{
"error": {
"message": "Device with identifier 1 is not found or belong to another organization."
}
}Request examples:
Last updated
Was this helpful?

