List Hosts
Retrieves a list of all hosts associated with the UI account making the API call. <br/><br/>Note: The structure of userData and reportedState fields may vary depending on the UniFi OS or Network Server version. The example provided is based on UniFi OS 4.1.13.
get/v1/hosts
Request
- Base URLhttps://api.ui.com
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageSizestring
Number of items to return per page
nextTokenstring
Token for pagination to retrieve the next set of results
Response
200
Changes
No recorded changes to this operation across all 1 revision of this API.