confirmSiteApLocalization

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

Usage

This API is used to accept or reject the cached autoplacement and auto orientation values of a map or subset of APs on a map. A rejected AP will retain its current X,Y and orientation until accpeted.

Body Parameters

NameTypeDescription
forStringplacement or orientation. The selector to choose auto placement or auto orientation. default: placement
acceptboolIf accept is true, accepts placement for devices in list otherwise. If false, reject for devices in list. default: false
device_macslistA list of macs to accept/reject. If a list is not provided the API will accept/reject for the full map.

Request Body

{"for"=>"placement", "accept"=>true, "macs"=>["<list of device macs>"]}

RESPONSES

status: OK