bulkAssignSiteApToMap

POST https://{{host}}/api/v1/sites/:site_id/maps/:map_id/set_map

This API can be used to assign a list of AP Macs associated with site_id to the specified map_id. Note that map_id must be associated with corresponding site_id.

This API obeys the following rules

  1. if AP is unassigned to any Map, it gets associated with map_id
  2. Any moved APs are returned in the response
  3. If the AP is considered a locked AP, no action will be taken

Request Body

{"macs"=>["5c5b35000001", "5c5b35584a6f"]}

RESPONSES

status: OK

{"moved":["5c5b35584a6f"],"locked":["5c5b35000001"]}