Update a Device

Updates a single device. The only attribute that can be updated is the serial number. This automatically updates the activation code as well.

Request

Parameters
Method PUT
Base URL https://api.xively.com
API Endpoint /v2/products/PRODUCT_ID/devices/SERIAL_NUMBER
Headers
X-ApiKey API_KEY_HERE
Body
JSON
XML
CSV
  • PUT/v2/products/PRODUCT_ID/devices/SERIAL_NUMBER

     {
      "device": {
        "serial":"abc1234"
      }
    }
    
  • XML format not available for this call
    
  • CSV format not available for this call
    

Response

Parameters
Status Code 200 OK
Headers
No Header
Body
JSON
XML
CSV
  • This response does not contain body data
    
  • XML format not available for this call
    
  • CSV format not available for this call