Update The Attributes Of A Device

PUT {{baseUrl}}/devices/:serial

Update the attributes of a device #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: name| string| The name of a device tags| array| The list of tags of a device lat| number| The latitude of a device lng| number| The longitude of a device address| string| The address of a device notes| string| The notes for the device. String. Limited to 255 characters. moveMapMarker| boolean| Whether or not to set the latitude and longitude of a device based on the new address. Only applies when lat and lng are not specified. switchProfileId| string| The ID of a switch profile to bind to the device (for available switch profiles, see the 'Switch Profiles' endpoint). Use null to unbind the switch device from the current profile. For a device to be bindable to a switch profile, it must (1) be a switch, and (2) belong to a network that is bound to a configuration template. floorPlanId| string| The floor plan to associate to this device. null disassociates the device from the floorplan.

Supports Action Batches

ResourceOperation
/devices/{serial}update

Request Body

{"name"=>"<string>", "tags"=>["<string>", "<string>"], "lat"=>"<float>", "lng"=>"<float>", "address"=>"<string>", "notes"=>"<string>", "moveMapMarker"=>"<boolean>", "switchProfileId"=>"<string>", "floorPlanId"=>"<string>"}

HEADERS

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

RESPONSES

status: OK

{&quot;name&quot;:&quot;My AP&quot;,&quot;lat&quot;:37.4180951010362,&quot;lng&quot;:-122.098531723022,&quot;serial&quot;:&quot;Q234-ABCD-5678&quot;,&quot;mac&quot;:&quot;00:11:22:33:44:55&quot;,&quot;model&quot;:&quot;MR34&quot;,&quot;address&quot;:&quot;1600 Pennsylvania Ave&quot;,&quot;notes&quot;:&quot;My AP&#39;s note&quot;,&quot;lanIp&quot;:&quot;1.2.3.4&quot;,&quot;tags&quot;:[&quot;recently-added&quot;],&quot;networkId&quot;:&quot;N_24329156&quot;,&quot;beaconIdParams&quot;:{&quot;uuid&quot;:&quot;00000000-0000-0000-0000-000000000000&quot;,&quot;major&quot;:5,&quot;minor&quot;:3},&quot;firmware&quot;:&quot;wireless-25-14&quot;,&quot;floorPlanId&quot;:&quot;g_1234567&quot;}