Skip to main content

List all connections

GET 
/security/connections

Returns a list of your connections.

Request

Query Parameters

    with_ips boolean

    Specify as true to include authorized IPs along with connections

    with_auth boolean

    Specify as true to include credential authentication details along with connections. Please note this only affects connections for which the authorization type is credential-based authentication.

    with_fqdns boolean

    Specify as true to include FQDN / domain details along with connections. Please note this only affects connections for which the authorization type is FQDN-based authentication.

    mode string

    Possible values: [typeahead]

    Optional parameter to specify typeahead mode. Doing so limits the amount of details returned but speeds up calls.

    order_by string

    Possible values: [created_at, connection_name, auth_type, active]

    Specify an ordering for the results. Optional parameter. If present, must be one of four values: "created_at", "connection_name", "auth_type", or "active". Other values are invalid and will result in the call failing. "created_at" will order them based on when the connections were created. "connection_name" will order results alphabetically by the connection name. "auth_type" will order the connections with those having credential-based auth first, followed by those with IP-based auth, and then those with no authentication type set at the end. "active" will order them with active/enabled connections first and inactive/disabled connections at the end. If no ordering is specified, "created_at" will be used.

    sort_direction string

    Possible values: [reverse]

    The sort_direction specifies in which way the ordering of the connections is applied. The default for connection_name is from A-Z, for created_at it is newest-first, and for auth_type it is credential, then IP-based, then no auth type. active shows enabled connections first and disabled/inactive connections at the end. You may invert this by specifying "reverse" as the sort_direction. This parameter is optional.

    filter_connection_name string

    Optional filtering parameter. If present, connections with at least a partial match will be returned. Matching is not case-sensitive. Requires at least three characters.

    filter_ip_address string

    Optional filtering parameter. If present, only connections with one or more matching authorized IP addresses will be returned. No connections where the authorization type is not set or the authorization type is credential-based will be returned if this is set.

    filter_auth_user_name string

    Optional filtering parameter. If present, only connections of credential-based authentication will be returned, and only those with a user_name that is at least a partial match with the value provided. Requires at least three characters.

    page integer

    Default value: 1

    Page number of results to load

    per_page integer

    Possible values: <= 1000

    Default value: 100

    Number of results per page

Responses

200: Connection response

401: Unauthorized

422: Unprocessable entity. Can be caused by improper use of filters or modes.

Loading...