2.14. Access Point Modification
It is possible to modify an existing access point by submitting a PATCH or a PUT request to the followings URIs:
https://hostname/api/v1/access_points/:id
https://hostname/api/v1/access_points/:mac_address
Where :id is the ID of the access point which data needs to be modified. It is also possible to identify the access point using it's mac address instead of the ID.
Permitted parameters on the request payload for the update are:
ip_address
IP address of the new access point.
mac_address
MAC address of the access point.
name
(Optional) Name given to the access point.
status
Status of the access point supplied as an integer. 0 stands for down or offline; 1 stands for up or online
latitude
Latitude coordinate to locate the access point
longitude
Longitude coordinate to locate the access point
x
Integer representig the abscissa coordinate in a floor map locating the access point
y
Integer representig the ordinate coordinate in a floor map locating the access point
sensor_uuid
Parent sensor UUID.
flow_uuid
Associated flow sensor UUID.
description
Description of the newly created access point.
If the request was successful HTTP 200 OK status code will be returned along a JSON payload describing all the values of the modified access point.