List Hosts
GET/v1/hosts
Retrieves a list of all hosts associated with the UI account making the API call.
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.
Request
Responses
- 200
- 401
- 429
- 500
- 502
200
401
429
Response Headers
Retry-After
Example:
5
500
502