Modify the fields of a device

PUT {{baseUrl}}/networks/:networkId/sm/devices/fields

Modify the fields of a device #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: wifiMac| string| The wifiMac of the device to be modified. id| string| The id of the device to be modified. serial| string| The serial of the device to be modified. deviceFields| object| The new fields of the device. Each field of this object is optional.

Request Body

{"deviceFields"=>{"name"=>"<string>", "notes"=>"<string>"}, "wifiMac"=>"<string>", "id"=>"<string>", "serial"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:&quot;1284392014819&quot;,&quot;serial&quot;:&quot;F5XKHEBX&quot;,&quot;wifiMac&quot;:&quot;00:11:22:33:44:55&quot;,&quot;name&quot;:&quot;Miles&#39;s phone&quot;,&quot;notes&quot;:&quot;Here&#39;s some info about my device&quot;}