Get Sensors by Hostname
- 20 Jun 2024
- 1 Minute to read
- Print
- Dark
Get Sensors by Hostname
- Updated on 20 Jun 2024
- 1 Minute to read
- Print
- Dark
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Get
/hostnames/{oid}
Get sensors with hostnames matching given expression.
Security
HTTP
Type bearer
Path parameters
oid
stringRequired
organization id
Query parameters
hostname
string
hostname prefix to search for
as_dict
string
a boolean string (like 'true') indicating to return the records in a dictionary instead of the legacy list format
Responses
200
successful operation
401
Access token is missing or invalid
Response
Click Try It! to start a request and see the response here!
Code Samples
x
curl --request GET \
--url https://api.limacharlie.io/v1/hostnames/%7Boid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'accept: '
Was this article helpful?
Response
Click Try It! to start a request and see the response here!
Code Samples
xxxxxxxxxx
curl --request GET \
--url https://api.limacharlie.io/v1/hostnames/%7Boid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'accept: '