MENU
    Get Sensors by Hostname
    • 20 Jun 2024
    • 1 Minute to read
    • Dark

    Get Sensors by Hostname

    • Dark

    Article summary

    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

    Authentication
    Token
    *
    URL
    Base URL
    https://api.limacharlie.io/v1
    Parameters
    oid*
    hostname
    as_dict
    Response
    Click Try It! to start a request and see the response here!
    Code Samples

    Was this article helpful?

    Authentication
    Token
    *
    URL
    Base URL
    https://api.limacharlie.io/v1
    Parameters
    oid*
    hostname
    as_dict
    Response
    Click Try It! to start a request and see the response here!
    Code Samples