PingOne Platform APIs

Read All Gateways

GET {{apiPath}}/environments/{{envID}}/gateways

The GET {{apiPath}}/environments/{{envID}}/gateways endpoint returns a list of all gateway resources associated with the specified environment resource.

Headers

Authorization      Bearer {{accessToken}}

Example Request

  • cURL

  • C#

  • Go

  • HTTP

  • Java

  • jQuery

  • NodeJS

  • Python

  • PHP

  • Ruby

  • Swift

curl --location --globoff '{{apiPath}}/environments/{{envID}}/gateways' \
--header 'Authorization: Bearer {{accessToken}}'
var options = new RestClientOptions("{{apiPath}}/environments/{{envID}}/gateways")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("", Method.Get);
request.AddHeader("Authorization", "Bearer {{accessToken}}");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
package main

import (
  "fmt"
  "net/http"
  "io"
)

func main() {

  url := "{{apiPath}}/environments/{{envID}}/gateways"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Authorization", "Bearer {{accessToken}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := io.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
GET /environments/{{envID}}/gateways HTTP/1.1
Host: {{apiPath}}
Authorization: Bearer {{accessToken}}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
  .url("{{apiPath}}/environments/{{envID}}/gateways")
  .method("GET", body)
  .addHeader("Authorization", "Bearer {{accessToken}}")
  .build();
Response response = client.newCall(request).execute();
var settings = {
  "url": "{{apiPath}}/environments/{{envID}}/gateways",
  "method": "GET",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer {{accessToken}}"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
var request = require('request');
var options = {
  'method': 'GET',
  'url': '{{apiPath}}/environments/{{envID}}/gateways',
  'headers': {
    'Authorization': 'Bearer {{accessToken}}'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
import requests

url = "{{apiPath}}/environments/{{envID}}/gateways"

payload = {}
headers = {
  'Authorization': 'Bearer {{accessToken}}'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{apiPath}}/environments/{{envID}}/gateways');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Authorization' => 'Bearer {{accessToken}}'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
require "uri"
require "net/http"

url = URI("{{apiPath}}/environments/{{envID}}/gateways")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "Bearer {{accessToken}}"

response = http.request(request)
puts response.read_body
var request = URLRequest(url: URL(string: "{{apiPath}}/environments/{{envID}}/gateways")!,timeoutInterval: Double.infinity)
request.addValue("Bearer {{accessToken}}", forHTTPHeaderField: "Authorization")

request.httpMethod = "GET"

let task = URLSession.shared.dataTask(with: request) { data, response, error in
  guard let data = data else {
    print(String(describing: error))
    return
  }
  print(String(data: data, encoding: .utf8)!)
}

task.resume()

Example Response

200 OK

{
    "_links": {
        "self": {
            "href": "https://api.pingone.com/v1/environments/5cf92ccb-0186-41f3-9d81-xxxxxxxxxxxx/gateways"
        }
    },
    "_embedded": {
        "gateways": [
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/5cf92ccb-0186-41f3-9d81-xxxxxxxxxxxx"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/5cf92ccb-0186-41f3-9d81-xxxxxxxxxxxx/gateways/08d759a2-74ff-422d-9766-75c56ed2843a/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/5cf92ccb-0186-41f3-9d81-xxxxxxxxxxxx/gateways/08d759a2-74ff-422d-9766-75c56ed2843a/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/5cf92ccb-0186-41f3-9d81-xxxxxxxxxxxx/gateways/08d759a2-74ff-422d-9766-75c56ed2843a"
                    }
                },
                "id": "08d759a2-74ff-422d-9766-75c56ed2843a",
                "environment": {
                    "id": "5cf92ccb-0186-41f3-9d81-xxxxxxxxxxxx"
                },
                "name": "LDAP Gateway2",
                "description": "LDAP gateway 2",
                "type": "LDAP",
                "enabled": true,
                "supportedVersions": [
                    {
                        "version": "3.0.4",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.4",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "3.0.1",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.1",
                        "supportEndsOn": "2024-12-31T00:00:00.000Z",
                        "daysUntilSupportEnds": 248
                    },
                    {
                        "version": "2.3.4",
                        "image": "pingidentity/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "2.3.4",
                        "image": "gcr.io/ping-identity/pingone/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "bindDN": "cn=svc-account",
                "connectionSecurity": "None",
                "vendor": "PingDirectory",
                "followReferrals": false,
                "userTypes": [
                    {
                        "id": "07b24f61-9031-44d1-88bc-e7279d7fd754",
                        "name": "typeName",
                        "passwordAuthority": "LDAP",
                        "searchBaseDn": "dc=example,dc=com",
                        "orderedCorrelationAttributes": [
                            "externalid",
                            "uid",
                            "username"
                        ],
                        "newUserLookup": {
                            "ldapFilterPattern": "(|(uid=${identifier})(mail=${identifier}))",
                            "population": {
                                "id": "89a7de36-c2ce-48d6-b453-9d7a7dd4dc3a"
                            },
                            "attributeMappings": [
                                {
                                    "name": "username",
                                    "value": "${ldapAttributes.uid}"
                                }
                            ]
                        },
                        "allowPasswordChanges": false,
                        "updateUserOnSuccessfulAuthentication": false
                    }
                ],
                "validateTlsCertificates": true,
                "serversHostAndPort": [
                    "host1:389",
                    "host.domain.com:389",
                    "10.10.10.10:636",
                    "2001:0db8:85a3:0000:0000:8a2e:0370:7334:389"
                ]
            },
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/3b2eb5f3-946e-4638-881c-dd5f471664ba/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/3b2eb5f3-946e-4638-881c-dd5f471664ba/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/3b2eb5f3-946e-4638-881c-dd5f471664ba"
                    }
                },
                "id": "3b2eb5f3-946e-4638-881c-dd5f471664ba",
                "environment": {
                    "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                },
                "name": "LDAP-Gateway-Test2",
                "description": "My gateway",
                "type": "LDAP",
                "enabled": true,
                "supportedVersions": [
                    {
                        "version": "3.0.4",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.4",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "3.0.1",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.1",
                        "supportEndsOn": "2024-12-31T00:00:00.000Z",
                        "daysUntilSupportEnds": 248
                    },
                    {
                        "version": "2.3.4",
                        "image": "pingidentity/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "2.3.4",
                        "image": "gcr.io/ping-identity/pingone/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "bindDN": "cn=svc-account",
                "connectionSecurity": "None",
                "vendor": "PingDirectory",
                "userTypes": [
                    {
                        "id": "7b4b301b-2805-40d7-93cf-a47890ad9bde",
                        "name": "typeName",
                        "passwordAuthority": "LDAP",
                        "searchBaseDn": "dc=example,dc=com",
                        "orderedCorrelationAttributes": [
                            "externalid",
                            "uid",
                            "username"
                        ],
                        "newUserLookup": {
                            "ldapFilterPattern": " (|(uid=$login$)(mail=$login$))",
                            "population": {
                                "id": "0353b962-cf0b-4149-8d1b-084e33814924"
                            },
                            "attributeMappings": [
                                {
                                    "name": "username",
                                    "value": "${ldapAttributes.uid}"
                                }
                            ]
                        },
                        "allowPasswordChanges": false,
                        "updateUserOnSuccessfulAuthentication": false
                    }
                ],
                "validateTlsCertificates": true,
                "serversHostAndPort": [
                    "host1:389",
                    "host.domain.com:389",
                    "10.10.10.10:636",
                    "2001:0db8:85a3:0000:0000:8a2e:0370:7334:389"
                ]
            },
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/44896f4c-c539-4d7e-90c2-2a96612ef09c/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/44896f4c-c539-4d7e-90c2-2a96612ef09c/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/44896f4c-c539-4d7e-90c2-2a96612ef09c"
                    }
                },
                "id": "44896f4c-c539-4d7e-90c2-2a96612ef09c",
                "environment": {
                    "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                },
                "name": "RADIUS Gateway2",
                "description": "Gateway with updated Davinci flow policy ID",
                "type": "RADIUS",
                "enabled": true,
                "supportedVersions": [
                    {
                        "version": "1.1.1",
                        "image": "pingidentity/pingone-radius-gateway:1.1.1",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "1.1.0",
                        "image": "pingidentity/pingone-radius-gateway:1.1.0",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "1.1.0",
                        "image": "gcr.io/ping-identity/pingone/pingone-radius-gateway:1.1.0",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "radiusClients": [
                    {
                        "ip": "127.0.0.1"
                    }
                ],
                "davinci": {
                    "policy": {
                        "id": "567a3443878d406e3fb22f5307059e0b"
                    }
                },
                "defaultSharedSecret": "secret",
                "networkPolicyServer": {
                    "ip": "127.0.0.1",
                    "port": 1812
                }
            },
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/6f9cc349-3b0b-4b1f-bf9b-5fe787e92c0a/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/6f9cc349-3b0b-4b1f-bf9b-5fe787e92c0a/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/6f9cc349-3b0b-4b1f-bf9b-5fe787e92c0a"
                    }
                },
                "id": "6f9cc349-3b0b-4b1f-bf9b-5fe787e92c0a",
                "environment": {
                    "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                },
                "name": "LDAP-Gateway-Test4",
                "description": "My gateway",
                "type": "LDAP",
                "enabled": true,
                "supportedVersions": [
                    {
                        "version": "3.0.4",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.4",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "3.0.1",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.1",
                        "supportEndsOn": "2024-12-31T00:00:00.000Z",
                        "daysUntilSupportEnds": 248
                    },
                    {
                        "version": "2.3.4",
                        "image": "pingidentity/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "2.3.4",
                        "image": "gcr.io/ping-identity/pingone/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "bindDN": "cn=svc-account",
                "connectionSecurity": "None",
                "vendor": "PingDirectory",
                "followReferrals": false,
                "userTypes": [
                    {
                        "id": "31ae3b91-7011-4314-8a83-12b2b9d58695",
                        "name": "myType",
                        "passwordAuthority": "LDAP",
                        "searchBaseDn": "dc=example,dc=com",
                        "orderedCorrelationAttributes": [
                            "externalid",
                            "uid",
                            "username"
                        ],
                        "newUserLookup": {
                            "ldapFilterPattern": "(|(uid=${identifier})(mail=${identifier}))",
                            "population": {
                                "id": "89a7de36-c2ce-48d6-b453-9d7a7dd4dc3a"
                            },
                            "attributeMappings": [
                                {
                                    "name": "username",
                                    "value": "${ldapAttributes.uid}"
                                }
                            ]
                        },
                        "allowPasswordChanges": false,
                        "updateUserOnSuccessfulAuthentication": false
                    }
                ],
                "validateTlsCertificates": true,
                "serversHostAndPort": [
                    "host1:389",
                    "host.domain.com:389",
                    "10.10.10.10:636",
                    "2001:0db8:85a3:0000:0000:8a2e:0370:7334:389"
                ]
            },
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/70ed5f1c-09f9-4840-aefa-c22f46affbd0/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/70ed5f1c-09f9-4840-aefa-c22f46affbd0/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/70ed5f1c-09f9-4840-aefa-c22f46affbd0"
                    }
                },
                "id": "70ed5f1c-09f9-4840-aefa-c22f46affbd0",
                "environment": {
                    "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                },
                "name": "LDAP Gateway",
                "description": "LDAP gateway",
                "type": "LDAP",
                "enabled": false,
                "supportedVersions": [
                    {
                        "version": "3.0.4",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.4",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "3.0.1",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.1",
                        "supportEndsOn": "2024-12-31T00:00:00.000Z",
                        "daysUntilSupportEnds": 248
                    },
                    {
                        "version": "2.3.4",
                        "image": "pingidentity/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "2.3.4",
                        "image": "gcr.io/ping-identity/pingone/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "bindDN": "cn=svc-account",
                "connectionSecurity": "None",
                "vendor": "PingDirectory",
                "followReferrals": false,
                "userTypes": [
                    {
                        "id": "34279981-1a50-4a49-a7d9-a13ab067f606",
                        "name": "typeName",
                        "passwordAuthority": "LDAP",
                        "searchBaseDn": "dc=example,dc=com",
                        "orderedCorrelationAttributes": [
                            "externalid",
                            "uid",
                            "username"
                        ],
                        "newUserLookup": {
                            "ldapFilterPattern": "(|(uid=${identifier})(mail=${identifier}))",
                            "population": {
                                "id": "bdb628f1-5cb3-4819-94ac-2114152e0f63"
                            },
                            "attributeMappings": [
                                {
                                    "name": "username",
                                    "value": "${ldapAttributes.uid}"
                                }
                            ]
                        },
                        "allowPasswordChanges": false,
                        "updateUserOnSuccessfulAuthentication": false
                    }
                ],
                "validateTlsCertificates": true,
                "serversHostAndPort": [
                    "host1:389",
                    "host.domain.com:389",
                    "10.10.10.10:636",
                    "2001:0db8:85a3:0000:0000:8a2e:0370:7334:389"
                ]
            },
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/84c184ca-660e-4e67-8792-b65d260571b0/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/84c184ca-660e-4e67-8792-b65d260571b0/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/84c184ca-660e-4e67-8792-b65d260571b0"
                    }
                },
                "id": "84c184ca-660e-4e67-8792-b65d260571b0",
                "environment": {
                    "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                },
                "name": "LDAP-Gateway1",
                "description": "Initial LDAP gateway",
                "type": "LDAP",
                "enabled": false,
                "supportedVersions": [
                    {
                        "version": "3.0.4",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.4",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "3.0.1",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.1",
                        "supportEndsOn": "2024-12-31T00:00:00.000Z",
                        "daysUntilSupportEnds": 248
                    },
                    {
                        "version": "2.3.4",
                        "image": "pingidentity/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "2.3.4",
                        "image": "gcr.io/ping-identity/pingone/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "bindDN": "cn=svc-account",
                "connectionSecurity": "None",
                "vendor": "PingDirectory",
                "followReferrals": false,
                "userTypes": [
                    {
                        "id": "9a75f594-260f-439e-9e3a-bcea5127b789",
                        "name": "typeName",
                        "passwordAuthority": "LDAP",
                        "searchBaseDn": "dc=example,dc=com",
                        "orderedCorrelationAttributes": [
                            "externalid",
                            "uid",
                            "username"
                        ],
                        "newUserLookup": {
                            "ldapFilterPattern": "(|(uid=${identifier})(mail=${identifier}))",
                            "population": {
                                "id": "549a93db-0d1e-4be9-b454-5281123f18c1"
                            },
                            "attributeMappings": [
                                {
                                    "name": "username",
                                    "value": "${ldapAttributes.uid}"
                                }
                            ]
                        },
                        "allowPasswordChanges": false,
                        "updateUserOnSuccessfulAuthentication": false
                    }
                ],
                "validateTlsCertificates": true,
                "serversHostAndPort": [
                    "host1:389",
                    "host.domain.com:389",
                    "10.10.10.10:636",
                    "2001:0db8:85a3:0000:0000:8a2e:0370:7334:389"
                ]
            },
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/98ea769c-7d91-410c-a455-450d872b0b6f/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/98ea769c-7d91-410c-a455-450d872b0b6f/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/98ea769c-7d91-410c-a455-450d872b0b6f"
                    }
                },
                "id": "98ea769c-7d91-410c-a455-450d872b0b6f",
                "environment": {
                    "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                },
                "name": "LDAP Gateway3",
                "description": "LDAP gateway 3",
                "type": "LDAP",
                "enabled": false,
                "supportedVersions": [
                    {
                        "version": "3.0.4",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.4",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "3.0.1",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.1",
                        "supportEndsOn": "2024-12-31T00:00:00.000Z",
                        "daysUntilSupportEnds": 248
                    },
                    {
                        "version": "2.3.4",
                        "image": "pingidentity/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "2.3.4",
                        "image": "gcr.io/ping-identity/pingone/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "bindDN": "cn=svc-account",
                "connectionSecurity": "None",
                "vendor": "PingDirectory",
                "followReferrals": false,
                "userTypes": [
                    {
                        "id": "34279981-1a50-4a49-a7d9-a13ab067f606",
                        "name": "typeName",
                        "passwordAuthority": "LDAP",
                        "searchBaseDn": "dc=example,dc=com",
                        "orderedCorrelationAttributes": [
                            "externalid",
                            "uid",
                            "username"
                        ],
                        "newUserLookup": {
                            "ldapFilterPattern": "(|(uid=${identifier})(mail=${identifier}))",
                            "population": {
                                "id": "32a41de6-de39-46ae-9c69-d404a4f95bac"
                            },
                            "attributeMappings": [
                                {
                                    "name": "username",
                                    "value": "${ldapAttributes.uid}"
                                }
                            ]
                        },
                        "allowPasswordChanges": false,
                        "updateUserOnSuccessfulAuthentication": false
                    }
                ],
                "validateTlsCertificates": true,
                "serversHostAndPort": [
                    "host1:389",
                    "host.domain.com:389",
                    "10.10.10.10:636",
                    "2001:0db8:85a3:0000:0000:8a2e:0370:7334:389"
                ]
            },
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/9db461ff-ee4e-41b0-9ebb-c750be48261a/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/9db461ff-ee4e-41b0-9ebb-c750be48261a/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/9db461ff-ee4e-41b0-9ebb-c750be48261a"
                    }
                },
                "id": "9db461ff-ee4e-41b0-9ebb-c750be48261a",
                "environment": {
                    "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                },
                "name": "LDAP-Gateway",
                "description": "My LDAP gateway",
                "type": "LDAP",
                "enabled": true,
                "supportedVersions": [
                    {
                        "version": "3.0.4",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.4",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "3.0.1",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.1",
                        "supportEndsOn": "2024-12-31T00:00:00.000Z",
                        "daysUntilSupportEnds": 248
                    },
                    {
                        "version": "2.3.4",
                        "image": "pingidentity/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "2.3.4",
                        "image": "gcr.io/ping-identity/pingone/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "credentials": [
                    {
                        "id": "ebf50fcb-4849-4f45-93d2-dc41041e9e55",
                        "createdAt": "2021-06-30T15:59:09.427Z"
                    },
                    {
                        "id": "ed955d8a-0c0f-4fc5-bcc1-511d30628b48",
                        "createdAt": "2021-06-30T15:48:19.474Z"
                    },
                    {
                        "id": "fc64ade6-46b7-4453-be40-d6c18abb6e02",
                        "createdAt": "2021-06-30T15:43:15.060Z"
                    }
                ],
                "bindDN": "cn=svc-account",
                "connectionSecurity": "None",
                "vendor": "PingDirectory",
                "userTypes": [
                    {
                        "id": "2a32d739-5b00-4c26-95fc-892d15fe8d91",
                        "name": "typeName",
                        "passwordAuthority": "LDAP",
                        "searchBaseDn": "dc=example,dc=com",
                        "orderedCorrelationAttributes": [
                            "externalid",
                            "uid",
                            "username"
                        ],
                        "newUserLookup": {
                            "ldapFilterPattern": " (|(uid=$login$)(mail=$login$))",
                            "population": {
                                "id": "0353b962-cf0b-4149-8d1b-084e33814924"
                            },
                            "attributeMappings": [
                                {
                                    "name": "username",
                                    "value": "${ldapAttributes.uid}"
                                }
                            ]
                        },
                        "allowPasswordChanges": true,
                        "updateUserOnSuccessfulAuthentication": false
                    }
                ],
                "validateTlsCertificates": true,
                "serversHostAndPort": [
                    "host1:389",
                    "host.domain.com:389",
                    "10.10.10.10:636",
                    "2001:0db8:85a3:0000:0000:8a2e:0370:7334:389"
                ]
            },
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/a861b220-967a-43cd-a724-50b00ef4f4db/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/a861b220-967a-43cd-a724-50b00ef4f4db/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/a861b220-967a-43cd-a724-50b00ef4f4db"
                    }
                },
                "id": "a861b220-967a-43cd-a724-50b00ef4f4db",
                "environment": {
                    "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                },
                "name": "RADIUS Gateway",
                "description": "Gateway using updated settings",
                "type": "RADIUS",
                "enabled": true,
                "supportedVersions": [
                    {
                        "version": "1.1.1",
                        "image": "pingidentity/pingone-radius-gateway:1.1.1",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "1.1.0",
                        "image": "pingidentity/pingone-radius-gateway:1.1.0",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "1.1.0",
                        "image": "gcr.io/ping-identity/pingone/pingone-radius-gateway:1.1.0",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "radiusClients": [
                    {
                        "ip": "127.0.0.1"
                    }
                ],
                "davinci": {
                    "policy": {
                        "id": "567a3443878d406e3fb22f5307059e0b"
                    }
                },
                "defaultSharedSecret": "secret"
            },
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/b4eb30ad-9955-4f2a-a827-2f7d9ff2a682/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/b4eb30ad-9955-4f2a-a827-2f7d9ff2a682/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/b4eb30ad-9955-4f2a-a827-2f7d9ff2a682"
                    }
                },
                "id": "b4eb30ad-9955-4f2a-a827-2f7d9ff2a682",
                "environment": {
                    "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                },
                "name": "LDAP-Gateway_1624893291",
                "type": "LDAP",
                "enabled": true,
                "supportedVersions": [
                    {
                        "version": "3.0.4",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.4",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "3.0.1",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.1",
                        "supportEndsOn": "2024-12-31T00:00:00.000Z",
                        "daysUntilSupportEnds": 248
                    },
                    {
                        "version": "2.3.4",
                        "image": "pingidentity/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "2.3.4",
                        "image": "gcr.io/ping-identity/pingone/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "bindDN": "uid=pingone,dc=example,dc=com",
                "connectionSecurity": "None",
                "vendor": "PingDirectory",
                "validateTlsCertificates": true,
                "serversHostAndPort": [
                    "ds1.example.com:389",
                    "ds2.example.com:636"
                ]
            },
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/d2874a98-26df-490c-844a-c345f35594a1/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/d2874a98-26df-490c-844a-c345f35594a1/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/d2874a98-26df-490c-844a-c345f35594a1"
                    }
                },
                "id": "d2874a98-26df-490c-844a-c345f35594a1",
                "environment": {
                    "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                },
                "name": "LDAP-Gateway-MyTest",
                "description": "My LDAP gateway",
                "type": "LDAP",
                "enabled": false,
                "supportedVersions": [
                    {
                        "version": "3.0.4",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.4",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "3.0.1",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.1",
                        "supportEndsOn": "2024-12-31T00:00:00.000Z",
                        "daysUntilSupportEnds": 248
                    },
                    {
                        "version": "2.3.4",
                        "image": "pingidentity/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "2.3.4",
                        "image": "gcr.io/ping-identity/pingone/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "bindDN": "cn=svc-account",
                "connectionSecurity": "None",
                "vendor": "PingDirectory",
                "followReferrals": false,
                "userTypes": [
                    {
                        "id": "07b24f61-9031-44d1-88bc-e7279d7fd754",
                        "name": "myType",
                        "passwordAuthority": "LDAP",
                        "searchBaseDn": "dc=example,dc=com",
                        "orderedCorrelationAttributes": [
                            "externalid",
                            "uid",
                            "username"
                        ],
                        "newUserLookup": {
                            "ldapFilterPattern": "(|(uid=${identifier})(mail=${identifier}))",
                            "population": {
                                "id": "f5d70107-ee11-481c-a73d-f3d812808d76"
                            },
                            "attributeMappings": [
                                {
                                    "name": "username",
                                    "value": "${ldapAttributes.uid}"
                                }
                            ]
                        },
                        "allowPasswordChanges": true,
                        "updateUserOnSuccessfulAuthentication": true
                    }
                ],
                "validateTlsCertificates": true,
                "serversHostAndPort": [
                    "host1:389",
                    "host.domain.com:389",
                    "10.10.10.10:333",
                    "2001:0db8:85a3:0000:0000:8a2e:0370:7334:389"
                ]
            },
            {
                "_links": {
                    "environment": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                    },
                    "instances": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/e7a736fb-b686-4bcf-8e6a-928c51a11e6e/instances"
                    },
                    "credentials": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/e7a736fb-b686-4bcf-8e6a-928c51a11e6e/credentials"
                    },
                    "self": {
                        "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/e7a736fb-b686-4bcf-8e6a-928c51a11e6e"
                    }
                },
                "id": "e7a736fb-b686-4bcf-8e6a-928c51a11e6e",
                "environment": {
                    "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
                },
                "name": "LDAP-Gateway-Test3",
                "description": "My LDAP gateway",
                "type": "LDAP",
                "enabled": false,
                "supportedVersions": [
                    {
                        "version": "3.0.4",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.4",
                        "recommended": true,
                        "latest": true
                    },
                    {
                        "version": "3.0.1",
                        "image": "pingidentity/pingone-ldap-gateway:3.0.1",
                        "supportEndsOn": "2024-12-31T00:00:00.000Z",
                        "daysUntilSupportEnds": 248
                    },
                    {
                        "version": "2.3.4",
                        "image": "pingidentity/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    },
                    {
                        "version": "2.3.4",
                        "image": "gcr.io/ping-identity/pingone/pingone-ldap-gateway:2.3.4",
                        "supportEndsOn": "2024-11-30T00:00:00.000Z",
                        "daysUntilSupportEnds": 217
                    }
                ],
                "currentAlerts": [
                    {
                        "category": "No Instances Connected",
                        "detail": "No gateway instances are connected. All operations that require access to this gateway will fail.",
                        "severity": "ERROR"
                    }
                ],
                "bindDN": "cn=svc-account",
                "connectionSecurity": "None",
                "vendor": "PingDirectory",
                "followReferrals": false,
                "userTypes": [
                    {
                        "id": "34279981-1a50-4a49-a7d9-a13ab067f606",
                        "name": "myType",
                        "passwordAuthority": "LDAP",
                        "searchBaseDn": "dc=example,dc=com",
                        "orderedCorrelationAttributes": [
                            "externalid",
                            "uid",
                            "username"
                        ],
                        "newUserLookup": {
                            "ldapFilterPattern": "(|(uid=${identifier})(mail=${identifier}))",
                            "population": {
                                "id": "89a7de36-c2ce-48d6-b453-9d7a7dd4dc3a"
                            },
                            "attributeMappings": [
                                {
                                    "name": "username",
                                    "value": "${ldapAttributes.uid}"
                                }
                            ]
                        },
                        "allowPasswordChanges": true,
                        "updateUserOnSuccessfulAuthentication": false
                    }
                ],
                "validateTlsCertificates": true,
                "serversHostAndPort": [
                    "host1:389",
                    "host.domain.com:389",
                    "10.10.10.10:636",
                    "2001:0db8:85a3:0000:0000:8a2e:0370:7334:389"
                ]
            }
        ]
    },
    "count": 12,
    "size": 12
}