---
title: Obtenir les groupes cibles
slug: obtenir-les-groupes-cibles
docTags: 
createdAt: 2026-06-04T15:50:56.155Z
---

{
  "id": "56_yTAN8xlJXmqc3thFPw",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.ionos.com/cloudapi/v6/targetgroups",
    "servers": [
      {
        "url": "https://api.ionos.com/cloudapi/v6/targetgroups"
      }
    ],
    "name": "Get Target Groups",
    "description": "<p>Lists target groups.</p>\n<p>A target group is a set of one or more registered targets. You must specify an IP address, a port number, and a weight for each target. Any object with an IP address in your VDC can be a target, for example, a VM, another load balancer, etc. You can register a target with multiple target groups.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        },
        {
          "kind": "optional",
          "name": "X-Contract-Number",
          "type": "integer<int32>",
          "description": "<p>Users with multiple contracts must provide the contract number, for which all API requests are to be executed.</p>",
          "format": "int32"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "pretty",
          "type": "boolean",
          "description": "<p>Controls whether the response is pretty-printed (with indentations and new lines).</p>",
          "default": true
        },
        {
          "kind": "optional",
          "name": "depth",
          "type": "integer<int32>",
          "description": "<p>Controls the detail depth of the response objects.\nGET /datacenters/[ID]\n- depth=0: Only direct properties are included; children (servers and other elements) are not included.\n- depth=1: Direct properties and children references are included.\n- depth=2: Direct properties and children properties are included.\n- depth=3: Direct properties and children properties and children's children are included.\n- depth=... and so on</p>",
          "default": 0,
          "format": "int32",
          "minimum": 0,
          "maximum": 10
        },
        {
          "kind": "optional",
          "name": "offset",
          "type": "integer<int32>",
          "description": "<p>The first element (from the complete list of the elements) to include in the response (used together with limit for pagination).</p>",
          "default": 0,
          "format": "int32",
          "minimum": 0
        },
        {
          "kind": "optional",
          "name": "limit",
          "type": "integer<int32>",
          "description": "<p>The maximum number of elements to return (used together with offset for pagination). It must not exceed 200.</p>",
          "default": 100,
          "format": "int32",
          "minimum": 1,
          "maximum": 200
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "BasicAuthentication",
          "name": "BasicAuthentication",
          "kind": "optional",
          "type": "http",
          "description": "<p>You will need to base64 encode the string containing your credentials. \nNote:\n\n</p>",
          "scheme": "basic"
        },
        {
          "id": "TokenAuthentication",
          "name": "Authorization",
          "kind": "optional",
          "type": "apiKey",
          "description": "<p>Please provide header value as 'Bearer ' and don't forget to add 'Bearer' HTTP Authorization Scheme before the token.</p>",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful operation",
        "jsonExample": "",
        "isExpanded": true,
        "headers": [
          {
            "kind": "optional",
            "name": "X-RateLimit-Remaining",
            "type": "integer<int32>",
            "description": "The number of requests that can still be made without triggering a failure response.",
            "format": "int32"
          },
          {
            "kind": "optional",
            "name": "X-RateLimit-Limit",
            "type": "integer<int32>",
            "description": "The average number of requests per minute allowed.",
            "format": "int32"
          },
          {
            "kind": "optional",
            "name": "X-RateLimit-Burst",
            "type": "integer<int32>",
            "description": "The maximum number of concurrent API requests allowed.",
            "format": "int32"
          }
        ],
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "TargetGroups",
            "schema": [
              {
                "name": "id",
                "kind": "optional",
                "type": "string",
                "readOnly": true,
                "description": "The resource's unique identifier.",
                "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
              },
              {
                "name": "type",
                "kind": "optional",
                "type": "object",
                "description": "",
                "complexType": "allOf",
                "complexItems": [
                  {
                    "name": "Type",
                    "description": "",
                    "modelRef": "#/components/schemas/Type",
                    "schema": []
                  }
                ],
                "schema": []
              },
              {
                "name": "href",
                "kind": "optional",
                "type": "string<uri>",
                "readOnly": true,
                "description": "<p>The URL to the object representation (absolute path).</p>",
                "example": "<RESOURCE-URI>",
                "format": "uri"
              },
              {
                "name": "items",
                "kind": "optional",
                "type": "array",
                "readOnly": true,
                "description": "Array of items in the collection.",
                "modelRef": "#/components/schemas/TargetGroup",
                "customType": "TargetGroup[]",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "The resource's unique identifier.",
                    "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "complexType": "allOf",
                    "complexItems": [
                      {
                        "name": "Type",
                        "description": "",
                        "modelRef": "#/components/schemas/Type",
                        "schema": []
                      }
                    ],
                    "schema": []
                  },
                  {
                    "name": "href",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>The URL to the object representation (absolute path).</p>",
                    "example": "<RESOURCE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "metadata",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/DatacenterElementMetadata",
                    "customType": "DatacenterElementMetadata",
                    "schema": [
                      {
                        "name": "etag",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "<p>Resource's Entity Tag as defined in <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11\" target=\"_blank\">http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11</a>  Entity Tag is also added as an 'ETag response header to requests which don't use 'depth' parameter.</p>",
                        "example": "45480eb3fbfc31f1d916c1eaa4abdcc3"
                      },
                      {
                        "name": "createdDate",
                        "kind": "optional",
                        "type": "string<date-time>",
                        "readOnly": true,
                        "description": "The last time the resource was created.",
                        "example": "2015-12-04T14:34:09.809Z",
                        "format": "date-time"
                      },
                      {
                        "name": "createdBy",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The user who created the resource.",
                        "example": "user@example.com"
                      },
                      {
                        "name": "createdByUserId",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The unique ID of the user who created the resource.",
                        "example": "user@example.com"
                      },
                      {
                        "name": "lastModifiedDate",
                        "kind": "optional",
                        "type": "string<date-time>",
                        "readOnly": true,
                        "description": "The last time the resource was modified.",
                        "example": "2015-12-04T14:34:09.809Z",
                        "format": "date-time"
                      },
                      {
                        "name": "lastModifiedBy",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The user who last modified the resource.",
                        "example": "user@example.com"
                      },
                      {
                        "name": "lastModifiedByUserId",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The unique ID of the user who last modified the resource.",
                        "example": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
                      },
                      {
                        "name": "state",
                        "kind": "optional",
                        "type": "string<AVAILABLE | INACTIVE | BUSY | DEPLOYING | ACTIVE | FAILED | SUSPENDED | FAILED_SUSPENDED | UPDATING | FAILED_UPDATING | DESTROYING | FAILED_DESTROYING | TERMINATED | HIBERNATING | FAILED_HIBERNATING | MAINTENANCE | FAILED_MAINTENANCE | UNKNOWN>",
                        "readOnly": true,
                        "description": "<p>State of the resource. <em>AVAILABLE</em> There are no pending modification requests for this item; <em>BUSY</em> There is at least one modification request pending and all following requests will be queued; <em>INACTIVE</em> Resource has been de-provisioned; <em>DEPLOYING</em> Resource state DEPLOYING - relevant for Kubernetes cluster/nodepool; <em>ACTIVE</em> Resource state ACTIVE - relevant for Kubernetes cluster/nodepool; <em>FAILED</em> Resource state FAILED - relevant for Kubernetes cluster/nodepool; <em>SUSPENDED</em> Resource state SUSPENDED - relevant for Kubernetes cluster/nodepool; <em>FAILED_SUSPENDED</em> Resource state FAILED_SUSPENDED - relevant for Kubernetes cluster; <em>UPDATING</em> Resource state UPDATING - relevant for Kubernetes cluster/nodepool; <em>FAILED_UPDATING</em> Resource state FAILED_UPDATING - relevant for Kubernetes cluster/nodepool; <em>DESTROYING</em> Resource state DESTROYING - relevant for Kubernetes cluster; <em>FAILED_DESTROYING</em> Resource state FAILED_DESTROYING - relevant for Kubernetes cluster/nodepool; <em>TERMINATED</em> Resource state TERMINATED - relevant for Kubernetes cluster/nodepool; <em>HIBERNATING</em> Resource state HIBERNATING - relevant for Kubernetes cluster/nodepool; <em>FAILED_HIBERNATING</em> Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool; <em>MAINTENANCE</em> Resource state MAINTENANCE - relevant for Kubernetes cluster/nodepool; <em>FAILED_HIBERNATING</em> Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool.</p>",
                        "example": "AVAILABLE",
                        "enum": [
                          "AVAILABLE",
                          "INACTIVE",
                          "BUSY",
                          "DEPLOYING",
                          "ACTIVE",
                          "FAILED",
                          "SUSPENDED",
                          "FAILED_SUSPENDED",
                          "UPDATING",
                          "FAILED_UPDATING",
                          "DESTROYING",
                          "FAILED_DESTROYING",
                          "TERMINATED",
                          "HIBERNATING",
                          "FAILED_HIBERNATING",
                          "MAINTENANCE",
                          "FAILED_MAINTENANCE",
                          "UNKNOWN"
                        ]
                      }
                    ]
                  },
                  {
                    "name": "properties",
                    "kind": "required",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/TargetGroupProperties",
                    "customType": "TargetGroupProperties",
                    "schema": [
                      {
                        "name": "name",
                        "kind": "required",
                        "type": "string",
                        "description": "The target group name.",
                        "example": "My target group"
                      },
                      {
                        "name": "algorithm",
                        "kind": "required",
                        "type": "string<ROUND_ROBIN | LEAST_CONNECTION | RANDOM | SOURCE_IP>",
                        "description": "<p>The balancing algorithm. A balancing algorithm consists of predefined rules with the logic that a load balancer uses to distribute network traffic between servers.</p>\n<ul>\n<li>\n<p><strong>Round Robin</strong>: Targets are served alternately according to their weighting.</p>\n</li>\n<li>\n<p><strong>Least Connection</strong>: The target with the least active connection is served.</p>\n</li>\n<li>\n<p><strong>Random</strong>: The targets are served based on a consistent pseudorandom algorithm.</p>\n</li>\n<li>\n<p><strong>Source IP</strong>: It is ensured that the same client IP address reaches the same target.</p>\n</li>\n</ul>",
                        "example": "ROUND_ROBIN",
                        "enum": [
                          "ROUND_ROBIN",
                          "LEAST_CONNECTION",
                          "RANDOM",
                          "SOURCE_IP"
                        ]
                      },
                      {
                        "name": "protocol",
                        "kind": "required",
                        "type": "string<HTTP>",
                        "description": "The forwarding protocol. Only the value 'HTTP' is allowed.",
                        "example": "HTTP",
                        "enum": [
                          "HTTP"
                        ]
                      },
                      {
                        "name": "protocolVersion",
                        "kind": "optional",
                        "type": "string<HTTP1 | HTTP2>",
                        "description": "The forwarding protocol version. Value is ignored when protocol is not 'HTTP'.",
                        "example": "HTTP1",
                        "enum": [
                          "HTTP1",
                          "HTTP2"
                        ]
                      },
                      {
                        "name": "targets",
                        "kind": "optional",
                        "type": "array",
                        "description": "Array of items in the collection.",
                        "modelRef": "#/components/schemas/TargetGroupTarget",
                        "customType": "TargetGroupTarget[]",
                        "schema": [
                          {
                            "name": "ip",
                            "kind": "required",
                            "type": "string",
                            "description": "The IP address of the balanced target.",
                            "example": "22.231.2.2"
                          },
                          {
                            "name": "port",
                            "kind": "required",
                            "type": "integer<int32>",
                            "description": "<p>The port of the balanced target service; the valid range is 1 to 65535.</p>",
                            "example": 8080,
                            "format": "int32"
                          },
                          {
                            "name": "weight",
                            "kind": "required",
                            "type": "integer<int32>",
                            "description": "<p>The traffic is distributed proportionally to target weight, which is the ratio of the total weight of all targets. A target with higher weight receives a larger share of traffic. The valid range is from 0 to 256; the default value is '1'. Targets with a weight of '0' do not participate in load balancing but still accept persistent connections. We recommend using values in the middle range to leave room for later adjustments.</p>",
                            "example": 123,
                            "format": "int32"
                          },
                          {
                            "name": "proxyProtocol",
                            "kind": "optional",
                            "type": "string<none | v1 | v2 | v2ssl>",
                            "description": "Proxy protocol version.",
                            "example": "v1",
                            "default": "none",
                            "enum": [
                              "none",
                              "v1",
                              "v2",
                              "v2ssl"
                            ]
                          },
                          {
                            "name": "healthCheckEnabled",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "<p>When the health check is enabled, the target is available only when it accepts regular TCP or HTTP connection attempts for state checking. The state check consists of one connection attempt with the target's address and port. The default value is 'TRUE'.</p>"
                          },
                          {
                            "name": "maintenanceEnabled",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "<p>When the maintenance mode is enabled, the target is prevented from receiving traffic; the default value is 'FALSE'.</p>"
                          }
                        ]
                      },
                      {
                        "name": "healthCheck",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "modelRef": "#/components/schemas/TargetGroupHealthCheck",
                        "customType": "TargetGroupHealthCheck",
                        "schema": [
                          {
                            "name": "checkTimeout",
                            "kind": "optional",
                            "type": "integer<int32>",
                            "description": "<p>The maximum time in milliseconds is to wait for a target to respond to a check. For target VMs with a 'Check Interval' set, the smaller of the two values is used once the TCP connection is established.</p>",
                            "example": 2000,
                            "format": "int32"
                          },
                          {
                            "name": "checkInterval",
                            "kind": "optional",
                            "type": "integer<int32>",
                            "description": "<p>The interval in milliseconds between consecutive health checks; the default value is '2000'.</p>",
                            "example": 2000,
                            "format": "int32"
                          },
                          {
                            "name": "retries",
                            "kind": "optional",
                            "type": "integer<int32>",
                            "description": "<p>The maximum number of attempts to reconnect to a target after a connection failure. The valid range is '0 to 65535'; the default value is '3'.</p>",
                            "example": 3,
                            "format": "int32"
                          }
                        ]
                      },
                      {
                        "name": "httpHealthCheck",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "modelRef": "#/components/schemas/TargetGroupHttpHealthCheck",
                        "customType": "TargetGroupHttpHealthCheck",
                        "schema": [
                          {
                            "name": "path",
                            "kind": "optional",
                            "type": "string",
                            "description": "<p>The destination URL for HTTP the health check; the default is '/'.</p>",
                            "example": "/monitoring"
                          },
                          {
                            "name": "method",
                            "kind": "optional",
                            "type": "string<HEAD | PUT | POST | GET | TRACE | PATCH>",
                            "description": "The method used for the health check request.",
                            "example": "GET",
                            "enum": [
                              "HEAD",
                              "PUT",
                              "POST",
                              "GET",
                              "TRACE",
                              "PATCH"
                            ]
                          },
                          {
                            "name": "matchType",
                            "kind": "required",
                            "type": "string<STATUS_CODE | RESPONSE_BODY>",
                            "description": "Specify the target's response type to match ALB's request.",
                            "example": "STATUS_CODE",
                            "enum": [
                              "STATUS_CODE",
                              "RESPONSE_BODY"
                            ]
                          },
                          {
                            "name": "response",
                            "kind": "required",
                            "type": "string",
                            "description": "The response returned by the request. It can be a status code or a response body depending on the definition of 'matchType'.",
                            "example": "200"
                          },
                          {
                            "name": "regex",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "<p>Specifies whether to use a regular expression to parse the response body; the default value is 'FALSE'.</p>\n<p>By using regular expressions, you can flexibly customize the expected response from a healthy server.</p>",
                            "example": false
                          },
                          {
                            "name": "negate",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "<p>Specifies whether to negate an individual entry; the default value is 'FALSE'.</p>",
                            "example": false
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "name": "offset",
                "kind": "optional",
                "type": "number",
                "description": "<p>The offset, specified in the request (if not is specified, 0 is used by default).</p>",
                "modelRef": "#/components/schemas/PaginationOffsetMandatory",
                "customType": "PaginationOffsetMandatory",
                "schema": []
              },
              {
                "name": "limit",
                "kind": "optional",
                "type": "number",
                "description": "<p>The limit, specified in the request (if not specified, the endpoint's default pagination limit is used).</p>",
                "example": 1000,
                "modelRef": "#/components/schemas/PaginationLimitMandatory",
                "customType": "PaginationLimitMandatory",
                "schema": []
              },
              {
                "name": "_links",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/PaginationLinks",
                "customType": "PaginationLinks",
                "schema": [
                  {
                    "name": "prev",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.</p>",
                    "example": "<PREVIOUS-PAGE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "self",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the current page.</p>",
                    "example": "<THIS-PAGE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "next",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.</p>",
                    "example": "<NEXT-PAGE-URI>",
                    "format": "uri"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/TargetGroups",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "default",
        "description": "<p>Any erroneous status code: 400 (parse error), 401 (auth error), 402 (trial access), 403 (insufficient privileges), 404 (not found), 405 (unsupported HTTP method), 415 (unsupported content type, 422 (validation error), 429 (request rate limit exceeded), 500 (server error), or 503 (maintenance).</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Error",
            "schema": [
              {
                "name": "httpStatus",
                "kind": "optional",
                "type": "integer<int32>",
                "readOnly": true,
                "description": "HTTP status code of the operation.",
                "example": 400,
                "format": "int32"
              },
              {
                "name": "messages",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/ErrorMessage",
                "customType": "ErrorMessage[]",
                "schema": [
                  {
                    "name": "errorCode",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "Application internal error code.",
                    "example": "123"
                  },
                  {
                    "name": "message",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "<p>A human-readable message.</p>",
                    "example": "Error message example."
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/Error",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "y8xTQwScilox6hkbnDrIG",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'https://api.ionos.com/cloudapi/v6/targetgroups?pretty=true&depth=integer%3Cint32%3E&offset=integer%3Cint32%3E&limit=100' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "ZsuklfwbaAqS_UfJQM4dh",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.ionos.com/cloudapi/v6/targetgroups?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=100\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "6VASKH0a-8epsLrIYmF65",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.ionos.com/cloudapi/v6/targetgroups?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=100\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "_qIG6RDZR1_nTF7T3JkE2",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.ionos.com/cloudapi/v6/targetgroups?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=100\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "y8xTQwScilox6hkbnDrIG"
    },
    "results": {
      "languages": [
        {
          "id": "cPAm3Boxs57cyYnbt-kId",
          "language": "200",
          "code": "// Successful operation\n{\n  \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n  \"type\": {},\n  \"href\": \"<RESOURCE-URI>\",\n  \"items\": [\n    {\n      \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n      \"type\": {},\n      \"href\": \"<RESOURCE-URI>\",\n      \"metadata\": {\n        \"etag\": \"45480eb3fbfc31f1d916c1eaa4abdcc3\",\n        \"createdDate\": \"2015-12-04T14:34:09.809Z\",\n        \"createdBy\": \"user@example.com\",\n        \"createdByUserId\": \"user@example.com\",\n        \"lastModifiedDate\": \"2015-12-04T14:34:09.809Z\",\n        \"lastModifiedBy\": \"user@example.com\",\n        \"lastModifiedByUserId\": \"63cef532-26fe-4a64-a4e0-de7c8a506c90\",\n        \"state\": \"AVAILABLE\"\n      },\n      \"properties\": {\n        \"name\": \"My target group\",\n        \"algorithm\": \"ROUND_ROBIN\",\n        \"protocol\": \"HTTP\",\n        \"protocolVersion\": \"HTTP1\",\n        \"targets\": [\n          {\n            \"ip\": \"22.231.2.2\",\n            \"port\": 8080,\n            \"weight\": 123,\n            \"proxyProtocol\": \"v1\",\n            \"healthCheckEnabled\": false,\n            \"maintenanceEnabled\": false\n          }\n        ],\n        \"healthCheck\": {\n          \"checkTimeout\": 2000,\n          \"checkInterval\": 2000,\n          \"retries\": 3\n        },\n        \"httpHealthCheck\": {\n          \"path\": \"/monitoring\",\n          \"method\": \"GET\",\n          \"matchType\": \"STATUS_CODE\",\n          \"response\": \"200\",\n          \"regex\": false,\n          \"negate\": false\n        }\n      }\n    }\n  ],\n  \"offset\": 0,\n  \"limit\": 1000,\n  \"_links\": {\n    \"prev\": \"<PREVIOUS-PAGE-URI>\",\n    \"self\": \"<THIS-PAGE-URI>\",\n    \"next\": \"<NEXT-PAGE-URI>\"\n  }\n}"
        },
        {
          "id": "SGx3zfXwFV8jLObtYf-hS",
          "language": "default",
          "code": "// Any erroneous status code: 400 (parse error), 401 (auth error), 402 (trial access), 403 (insufficient privileges), 404 (not found), 405 (unsupported HTTP method), 415 (unsupported content type, 422 (validation error), 429 (request rate limit exceeded), 500 (server error), or 503 (maintenance).\n{\n  \"httpStatus\": 400,\n  \"messages\": [\n    {\n      \"errorCode\": \"123\",\n      \"message\": \"Error message example.\"\n    }\n  ]\n}"
        }
      ],
      "selectedLanguageId": "cPAm3Boxs57cyYnbt-kId"
    }
  },
  "children": [
    {
      "text": "",
      "id": "i8EuQopIP-FsJ_xZuNLCL"
    }
  ]
}