{
  "info": {
    "_postman_id": "dea9510f-e2b8-4fa2-bfed-70964f280b06",
    "name": "Twingate - Full (External)",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "721473"
  },
  "item": [
    {
      "name": "Devices",
      "item": [
        {
          "name": "[INTRO] - Get all Fields for Device",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "{\n  __type(name: \"Device\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": [
            {
              "name": "[INTRO] - Get all Fields for Device",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "graphql",
                  "graphql": {
                    "query": "{\n  __type(name: \"Device\") {\n    name\n    description\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                    "variables": ""
                  }
                },
                "url": {
                  "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
                  "protocol": "https",
                  "host": ["{{tenant_name}}", "twingate", "com"],
                  "path": ["api", "graphql", ""]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Server",
                  "value": "twingate"
                },
                {
                  "key": "Date",
                  "value": "Fri, 06 May 2022 13:23:35 GMT"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Vary",
                  "value": "Cookie, Accept-Encoding"
                },
                {
                  "key": "X-Frame-Options",
                  "value": "DENY"
                },
                {
                  "key": "Strict-Transport-Security",
                  "value": "max-age=31536000; includeSubDomains"
                },
                {
                  "key": "X-Content-Type-Options",
                  "value": "nosniff"
                },
                {
                  "key": "Referrer-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Content-Encoding",
                  "value": "gzip"
                },
                {
                  "key": "Set-Cookie",
                  "value": "csrftoken=oanbqegMZszY5TB3mMQwWW4LtlZ9XaQ48JNdIyWmZqPrKQNWiXYD7Cq9ejDOP7rL; expires=Fri, 05 May 2023 13:23:35 GMT; HttpOnly; Max-Age=31449600; Path=/; SameSite=Lax"
                },
                {
                  "key": "Via",
                  "value": "1.1 google"
                },
                {
                  "key": "Alt-Svc",
                  "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
                },
                {
                  "key": "Transfer-Encoding",
                  "value": "chunked"
                }
              ],
              "cookie": [],
              "body": "{\n    \"data\": {\n        \"__type\": {\n            \"name\": \"Device\",\n            \"description\": null,\n            \"kind\": \"OBJECT\",\n            \"fields\": [\n                {\n                    \"name\": \"id\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"name\",\n                    \"type\": {\n                        \"name\": \"String\",\n                        \"kind\": \"SCALAR\"\n                    }\n                },\n                {\n                    \"name\": \"isTrusted\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"lastFailedLoginAt\",\n                    \"type\": {\n                        \"name\": \"DateTime\",\n                        \"kind\": \"SCALAR\"\n                    }\n                },\n                {\n                    \"name\": \"lastSuccessfulLoginAt\",\n                    \"type\": {\n                        \"name\": \"DateTime\",\n                        \"kind\": \"SCALAR\"\n                    }\n                },\n                {\n                    \"name\": \"osVersion\",\n                    \"type\": {\n                        \"name\": \"String\",\n                        \"kind\": \"SCALAR\"\n                    }\n                },\n                {\n                    \"name\": \"hardwareModel\",\n                    \"type\": {\n                        \"name\": \"String\",\n                        \"kind\": \"SCALAR\"\n                    }\n                },\n                {\n                    \"name\": \"hostname\",\n                    \"type\": {\n                        \"name\": \"String\",\n                        \"kind\": \"SCALAR\"\n                    }\n                },\n                {\n                    \"name\": \"username\",\n                    \"type\": {\n                        \"name\": \"String\",\n                        \"kind\": \"SCALAR\"\n                    }\n                },\n                {\n                    \"name\": \"serialNumber\",\n                    \"type\": {\n                        \"name\": \"String\",\n                        \"kind\": \"SCALAR\"\n                    }\n                },\n                {\n                    \"name\": \"user\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"lastConnectedAt\",\n                    \"type\": {\n                        \"name\": \"DateTime\",\n                        \"kind\": \"SCALAR\"\n                    }\n                },\n                {\n                    \"name\": \"osName\",\n                    \"type\": {\n                        \"name\": \"DeviceOsName\",\n                        \"kind\": \"ENUM\"\n                    }\n                },\n                {\n                    \"name\": \"deviceType\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"clientVersion\",\n                    \"type\": {\n                        \"name\": \"String\",\n                        \"kind\": \"SCALAR\"\n                    }\n                },\n                {\n                    \"name\": \"manufacturerName\",\n                    \"type\": {\n                        \"name\": \"String\",\n                        \"kind\": \"SCALAR\"\n                    }\n                }\n            ]\n        }\n    }\n}"
            }
          ]
        },
        {
          "name": "Get List of Devices",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetListOfDevices\n{\n  devices(after: null, first:50) {\n    edges {\n      node {\n        id\n        name\n        isTrusted\n        osName\n        deviceType\n\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get List of Devices (get endCursor)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetListOfDevices\n{\n  devices(after:\"0\") {\n    edges {\n      node {\n        id\n        name\n        isTrusted\n        osName\n        osVersion\n        hardwareModel\n        hostname\n        serialNumber\n        deviceType\n        hostname\n        username\n        manufacturerName\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get List of Devices (from endCursor)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetListOfDevices\n{\n  devices(after: \"YXJyYXljb25uZWN0aW9uOjQ5\") {\n    edges {\n      node {\n        id\n        name\n        isTrusted\n        osName\n        osVersion\n        hardwareModel\n        hostname\n        serialNumber\n        deviceType\n        hostname\n        username\n        manufacturerName\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get List of Devices (with filter)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetListOfDevices\n{\n  devices(after: null, first:100, filter:{isTrusted:{eq:false}}) {\n    edges {\n      node {\n        id\n        name\n        isTrusted\n        osName\n        deviceType\n\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get a Device",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " query PM_GetDevice($itemID: ID!){\n  device(id:$itemID) {\n id\n        name\n        isTrusted\n        osName\n        deviceType\n      }\n  }\n \n",
                "variables": "{\"itemID\":\"RGV2aWNlOjIwOTA1\"}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Mark Device as Trusted (complex)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_MarkDeviceAsTrusted($deviceID: ID!, $isTrusted: Boolean!) {\n\n    deviceUpdate(id: $deviceID, isTrusted: $isTrusted) {\n      ok\n      error\n      entity {\n        id\n        name\n        __typename\n      }\n      __typename\n    }\n    __typename\n}",
                "variables": "{\n    \"deviceID\":\"<Device ID>\",\n    \"isTrusted\":true\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Add Serial Numbers (complex)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_serialNumbersCreate($serialnums: [String!]!) {\n\n    serialNumbersCreate(serialNumbers: $serialnums) {\n      ok\n      error\n      entities {\n        id\n        createdAt\n        serialNumber\n        matchedDevices {\n            id\n            name\n        }\n      }\n    }\n}",
                "variables": "{\n    \"serialnums\":[\"1223\",\"345345\"]\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get Serial Numbers",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetListOfSerialNumbers\n{\n  serialNumbers(after: \"0\",first: 50) {\n    edges {\n      node {\n        id\n        serialNumber\n        createdAt\n        matchedDevices {\n            id\n            name\n        }\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Remove Serial Numbers (complex)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_serialNumbersDelete($serialnums: [String!]!) {\n\n    serialNumbersDelete(serialNumbers: $serialnums) {\n      ok\n      error\n    }\n}",
                "variables": "{\n    \"serialnums\":[\"1223\",\"345345\"]\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Mark Device as Trusted (Simpler)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_MarkDeviceAsTrusted{\n\n    deviceUpdate(id: $deviceID, isTrusted: $isTrusted) {\n      ok\n      error\n    }\n}",
                "variables": "{\n    \"deviceID\":\"<Device ID>\",\n    \"isTrusted\":true\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Mark Device as Trusted (Simple)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_MarkDeviceAsTrusted{\n    deviceUpdate(id: \"<Device ID>\", isTrusted: true) {\n      ok\n      error\n    }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Resources",
      "item": [
        {
          "name": "[INTRO] - Get all Fields for Resources",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "{\n  __type(name: \"Resource\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": [
            {
              "name": "[INTRO] - Get all Fields for Resources",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "graphql",
                  "graphql": {
                    "query": "{\n  __type(name: \"Resource\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                    "variables": ""
                  }
                },
                "url": {
                  "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
                  "protocol": "https",
                  "host": ["{{tenant_name}}", "twingate", "com"],
                  "path": ["api", "graphql", ""]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Server",
                  "value": "twingate"
                },
                {
                  "key": "Date",
                  "value": "Fri, 06 May 2022 20:50:46 GMT"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Vary",
                  "value": "Cookie, Accept-Encoding"
                },
                {
                  "key": "X-Frame-Options",
                  "value": "DENY"
                },
                {
                  "key": "Strict-Transport-Security",
                  "value": "max-age=31536000; includeSubDomains"
                },
                {
                  "key": "X-Content-Type-Options",
                  "value": "nosniff"
                },
                {
                  "key": "Referrer-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Content-Encoding",
                  "value": "gzip"
                },
                {
                  "key": "Set-Cookie",
                  "value": "csrftoken=oanbqegMZszY5TB3mMQwWW4LtlZ9XaQ48JNdIyWmZqPrKQNWiXYD7Cq9ejDOP7rL; expires=Fri, 05 May 2023 20:50:46 GMT; HttpOnly; Max-Age=31449600; Path=/; SameSite=Lax"
                },
                {
                  "key": "Via",
                  "value": "1.1 google"
                },
                {
                  "key": "Alt-Svc",
                  "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
                },
                {
                  "key": "Transfer-Encoding",
                  "value": "chunked"
                }
              ],
              "cookie": [],
              "body": "{\n    \"data\": {\n        \"__type\": {\n            \"name\": \"Resource\",\n            \"kind\": \"OBJECT\",\n            \"fields\": [\n                {\n                    \"name\": \"id\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"createdAt\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"updatedAt\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"name\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"address\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"protocols\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"isActive\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"remoteNetwork\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"groups\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                }\n            ]\n        }\n    }\n}"
            }
          ]
        },
        {
          "name": "[INTRO] - Get all Fields for ResourceAddress",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "{\n  __type(name: \"ResourceAddress\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": [
            {
              "name": "[INTRO] - Get all Fields for ResourceAddress",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "graphql",
                  "graphql": {
                    "query": "{\n  __type(name: \"Resource\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                    "variables": ""
                  }
                },
                "url": {
                  "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
                  "protocol": "https",
                  "host": ["{{tenant_name}}", "twingate", "com"],
                  "path": ["api", "graphql", ""]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Server",
                  "value": "twingate"
                },
                {
                  "key": "Date",
                  "value": "Fri, 06 May 2022 20:52:20 GMT"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Vary",
                  "value": "Cookie"
                },
                {
                  "key": "X-Frame-Options",
                  "value": "DENY"
                },
                {
                  "key": "Content-Length",
                  "value": "184"
                },
                {
                  "key": "Strict-Transport-Security",
                  "value": "max-age=31536000; includeSubDomains"
                },
                {
                  "key": "X-Content-Type-Options",
                  "value": "nosniff"
                },
                {
                  "key": "Referrer-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Set-Cookie",
                  "value": "csrftoken=oanbqegMZszY5TB3mMQwWW4LtlZ9XaQ48JNdIyWmZqPrKQNWiXYD7Cq9ejDOP7rL; expires=Fri, 05 May 2023 20:52:20 GMT; HttpOnly; Max-Age=31449600; Path=/; SameSite=Lax"
                },
                {
                  "key": "Via",
                  "value": "1.1 google"
                },
                {
                  "key": "Alt-Svc",
                  "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
                }
              ],
              "cookie": [],
              "body": "{\n    \"data\": {\n        \"__type\": {\n            \"name\": \"ResourceAddress\",\n            \"kind\": \"OBJECT\",\n            \"fields\": [\n                {\n                    \"name\": \"type\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"value\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                }\n            ]\n        }\n    }\n}"
            }
          ]
        },
        {
          "name": "Get List of Resources",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetListOfResources{\n  resources(after: \"0\", first:50) {\n    edges {\n      node {\n        id\n        name\n        createdAt\n        updatedAt\n        isActive\n        access{\n            edges{\n                node{\n                    ... on Group {\n                        id\n                        name\n                                \n                    }\n                    ... on ServiceAccount {\n                        id\n                        name\n                    }\n\n                }\n                securityPolicy {\n                    id\n                    name\n                }\n            }\n        }\n        securityPolicy{\n            name\n            id\n        }\n        remoteNetwork{\n            name\n        }\n        address {\n            type\n            value\n        }\n        protocols {\n            allowIcmp\n            tcp {\n                policy\n                ports {\n                    start\n                    end\n                }\n            }\n            udp{\n                policy\n                ports {\n                    start\n                    end\n                }\n            }\n        }\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get a Resource",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " query PM_GetResource($resourceID: ID!){\n  resource(id:$resourceID) {\n        id\n        name\n      }\n  }\n\n",
                "variables": "{\"resourceID\":\"<Resource ID>\"}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Add Group to Resource",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_AddGroupToResource{\n    resourceUpdate(id: \"<Resource ID>\", addedGroupIds: [\"<Group ID>\"]) {\n      ok\n      error\n    }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Remove Group from Resource",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_RemoveResourceFromGroup{\n    resourceUpdate(id: \"<Resource ID>\", removedGroupIds: [\"<Group ID>\"]) {\n      ok\n      error\n    }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Create Resource",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_CreateResource{\n    resourceCreate(address: \"10.0.0.3\", groupIds: [\"<Group ID>\"], name: \"myServer\", remoteNetworkId : \"<Remote Network ID>\",securityPolicyId:\"<Security Policy ID>\") {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Create Resource (Complex)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_CreateResource($address: String!,$name:String!,$remoteNetworkId:ID!,$policyId:ID!,$groupIds:[ID!]){\n\n    resourceCreate(address: $address, groupIds: $groupIds, name: $name, remoteNetworkId : $remoteNetworkId, securityPolicyId : $policyId) {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}\n",
                "variables": "{\n    \"address\":\"10.0.0.3\", \"name\":\"myserver\",\n    \"remoteNetworkId\":\"<Remote Network ID>\",\n    \"policyId\":\"<Security Policy ID>\",\n    \"groupIds\":[]\n    }"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Delete Resource",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation PM_DeleteResource($id: ID!){\n    resourceDelete(id: $id) {\n      ok\n      error\n    }\n}\n",
                "variables": "{\n    \"id\":\"<Resource ID>\"}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Add Access to Resource (with override policy)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation\n    AddOverridePolicyToResource($resourceId:ID!,$accessInput:[AccessInput!]!){\n\n    resourceAccessAdd(resourceId: $resourceId,access:$accessInput ) {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}\n",
                "variables": "{\n\n    \"resourceId\":\"UmVzb3VyY2U6MjM0MDI4OQ==\",\n    \"accessInput\" : [\n        {\n            \"principalId\":\"R3JvdXA6MTEyMDcw\",\n            \"securityPolicyId\":\"U2VjdXJpdHlQb2xpY3k6MTk5ODU1\"\n        }\n    ]\n    \n    }"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Set Access to Resource (with override policy)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation\n    AddOverridePolicyToResource($resourceId:ID!,$accessInput:[AccessInput!]!){\n\n    resourceAccessSet(resourceId: $resourceId,access:$accessInput ) {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}\n",
                "variables": "{\n\n    \"resourceId\":\"UmVzb3VyY2U6MjM0MDI4OQ==\",\n    \"accessInput\" : [\n        {\n            \"principalId\":\"R3JvdXA6MTEyMDcw\",\n            \"securityPolicyId\":\"U2VjdXJpdHlQb2xpY3k6MTk5ODU1\"\n        },\n        {\n            \"principalId\":\"R3JvdXA6MTUxMDA=\",\n            \"securityPolicyId\":\"U2VjdXJpdHlQb2xpY3k6MTk5ODU1\"\n        }\n    ]\n    \n    }"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": [
            {
              "name": "Add Access to Resource",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "graphql",
                  "graphql": {
                    "query": "\nmutation\n    AddOverridePolicyToResource($resourceId:ID!,$accessInput:[AccessInput!]!){\n\n    resourceAccessAdd(resourceId: $resourceId,access:$accessInput ) {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}\n",
                    "variables": "{\n\n    \"resourceId\":\"UmVzb3VyY2U6MjM0MDI4OQ==\",\n    \"accessInput\" : [\n        {\n            \"principalId\":\"R3JvdXA6MTEyMDcw\",\n            \"securityPolicyId\":\"U2VjdXJpdHlQb2xpY3k6MTk5ODU1\"\n        }\n    ]\n    \n    }"
                  }
                },
                "url": {
                  "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
                  "protocol": "https",
                  "host": ["{{tenant_name}}", "twingate", "com"],
                  "path": ["api", "graphql", ""]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Server",
                  "value": "twingate"
                },
                {
                  "key": "Date",
                  "value": "Thu, 05 Oct 2023 23:11:54 GMT"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "X-Frame-Options",
                  "value": "SAMEORIGIN"
                },
                {
                  "key": "Content-Length",
                  "value": "116"
                },
                {
                  "key": "Vary",
                  "value": "Cookie"
                },
                {
                  "key": "Strict-Transport-Security",
                  "value": "max-age=31536000; includeSubDomains"
                },
                {
                  "key": "X-Content-Type-Options",
                  "value": "nosniff"
                },
                {
                  "key": "Referrer-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Cross-Origin-Opener-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Via",
                  "value": "1.1 google"
                },
                {
                  "key": "Alt-Svc",
                  "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
                }
              ],
              "cookie": [],
              "body": "{\n    \"data\": {\n        \"resourceAccessAdd\": {\n            \"ok\": true,\n            \"error\": null,\n            \"entity\": {\n                \"id\": \"UmVzb3VyY2U6MjM0MDI4OQ==\",\n                \"name\": \"myserver\"\n            }\n        }\n    }\n}"
            }
          ]
        },
        {
          "name": "Set Access to Resource (with default policy)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation\n    AddOverridePolicyToResource($resourceId:ID!,$accessInput:[AccessInput!]!){\n\n    resourceAccessSet(resourceId: $resourceId,access:$accessInput ) {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}\n",
                "variables": "{\n\n    \"resourceId\":\"UmVzb3VyY2U6MjM0MDI4OQ==\",\n    \"accessInput\" : [\n        {\n            \"principalId\":\"R3JvdXA6MTEyMDcw\",\n            \"securityPolicyId\":null\n        },\n        {\n            \"principalId\":\"R3JvdXA6MTUxMDA=\",\n            \"securityPolicyId\":null\n        }\n    ]\n    \n    }"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": [
            {
              "name": "Add Access to Resource",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "graphql",
                  "graphql": {
                    "query": "\nmutation\n    AddOverridePolicyToResource($resourceId:ID!,$accessInput:[AccessInput!]!){\n\n    resourceAccessAdd(resourceId: $resourceId,access:$accessInput ) {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}\n",
                    "variables": "{\n\n    \"resourceId\":\"UmVzb3VyY2U6MjM0MDI4OQ==\",\n    \"accessInput\" : [\n        {\n            \"principalId\":\"R3JvdXA6MTEyMDcw\",\n            \"securityPolicyId\":\"U2VjdXJpdHlQb2xpY3k6MTk5ODU1\"\n        }\n    ]\n    \n    }"
                  }
                },
                "url": {
                  "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
                  "protocol": "https",
                  "host": ["{{tenant_name}}", "twingate", "com"],
                  "path": ["api", "graphql", ""]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Server",
                  "value": "twingate"
                },
                {
                  "key": "Date",
                  "value": "Thu, 05 Oct 2023 23:11:54 GMT"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "X-Frame-Options",
                  "value": "SAMEORIGIN"
                },
                {
                  "key": "Content-Length",
                  "value": "116"
                },
                {
                  "key": "Vary",
                  "value": "Cookie"
                },
                {
                  "key": "Strict-Transport-Security",
                  "value": "max-age=31536000; includeSubDomains"
                },
                {
                  "key": "X-Content-Type-Options",
                  "value": "nosniff"
                },
                {
                  "key": "Referrer-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Cross-Origin-Opener-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Via",
                  "value": "1.1 google"
                },
                {
                  "key": "Alt-Svc",
                  "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
                }
              ],
              "cookie": [],
              "body": "{\n    \"data\": {\n        \"resourceAccessAdd\": {\n            \"ok\": true,\n            \"error\": null,\n            \"entity\": {\n                \"id\": \"UmVzb3VyY2U6MjM0MDI4OQ==\",\n                \"name\": \"myserver\"\n            }\n        }\n    }\n}"
            }
          ]
        },
        {
          "name": "Add Access to Resource (with default policy)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation\n    AddOverridePolicyToResource($resourceId:ID!,$accessInput:[AccessInput!]!){\n\n    resourceAccessAdd(resourceId: $resourceId,access:$accessInput ) {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}\n",
                "variables": "{\n\n    \"resourceId\":\"UmVzb3VyY2U6MjM0MDI4OQ==\",\n    \"accessInput\" : [\n        {\n            \"principalId\":\"R3JvdXA6MTEyMDcw\",\n            \"securityPolicyId\":\"U2VjdXJpdHlQb2xpY3k6MTk5ODU1\"\n        }\n    ]\n    \n    }"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Remove Access from Resource",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation\n    RemoveOverridePolicyToResource($resourceId:ID!,$principalIDs:[ID!]!){\n\n    resourceAccessRemove(resourceId: $resourceId,principalIds:$principalIDs ) {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}\n",
                "variables": "{\n\n    \"resourceId\":\"UmVzb3VyY2U6MjM0MDI4OQ==\",\n    \"principalIDs\" : [\n       \"R3JvdXA6MTEyMDcw\"\n    ]\n\n    }"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": [
            {
              "name": "Remove Access from Resource",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "graphql",
                  "graphql": {
                    "query": "\nmutation\n    RemoveOverridePolicyToResource($resourceId:ID!,$principalIDs:[ID!]!){\n\n    resourceAccessRemove(resourceId: $resourceId,principalIds:$principalIDs ) {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}\n",
                    "variables": "{\n\n    \"resourceId\":\"UmVzb3VyY2U6MjM0MDI4OQ==\",\n    \"principalIDs\" : [\n       \"R3JvdXA6MTEyMDcw\"\n    ]\n\n    }"
                  }
                },
                "url": {
                  "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
                  "protocol": "https",
                  "host": ["{{tenant_name}}", "twingate", "com"],
                  "path": ["api", "graphql", ""]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Server",
                  "value": "twingate"
                },
                {
                  "key": "Date",
                  "value": "Thu, 05 Oct 2023 23:17:19 GMT"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "X-Frame-Options",
                  "value": "SAMEORIGIN"
                },
                {
                  "key": "Content-Length",
                  "value": "119"
                },
                {
                  "key": "Strict-Transport-Security",
                  "value": "max-age=31536000; includeSubDomains"
                },
                {
                  "key": "X-Content-Type-Options",
                  "value": "nosniff"
                },
                {
                  "key": "Referrer-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Cross-Origin-Opener-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Via",
                  "value": "1.1 google"
                },
                {
                  "key": "Alt-Svc",
                  "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
                }
              ],
              "cookie": [],
              "body": "{\n    \"data\": {\n        \"resourceAccessRemove\": {\n            \"ok\": true,\n            \"error\": null,\n            \"entity\": {\n                \"id\": \"UmVzb3VyY2U6MjM0MDI4OQ==\",\n                \"name\": \"myserver\"\n            }\n        }\n    }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Users",
      "item": [
        {
          "name": "[INTRO] - Get all Fields for Users",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "{\n  __type(name: \"User\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get List of Users",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetListOfUsers{\n  users(after: \"0\", first:50) {\n    edges {\n      node {\n        id\n        firstName\n        lastName\n        email\n        createdAt\n        updatedAt\n        isAdmin\n        state\n\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get a User",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " query PM_GetUser($userID: ID!){\n  user(id:$userID) {\n        id\n        firstName\n        lastName\n        email\n        createdAt\n        updatedAt\n        isAdmin\n        state\n      }\n  }\n\n",
                "variables": "{\"userID\":\"<User ID>\"}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Create User",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " mutation PM_CreateUser($email: String!,$firstname: String!,$lastname: String!,$userRole:UserRole!,$shouldsendinvite:Boolean!){\n  userCreate(email:$email,firstName:$firstname,lastName:$lastname,role:$userRole,shouldSendInvite:$shouldsendinvite) {\n        ok\n      error\n        entity {\n               id\n                state\n                email\n                state\n                role\n                lastName\n                firstName\n                createdAt\n                updatedAt\n         }\n        \n      }\n  }\n\n",
                "variables": "{\"email\":\"a@me.com\",\n\"firstname\": \"john\",\n\"lastname\": \"doe\",\n\"userRole\":\"ADMIN\",\n\"shouldsendinvite\":false\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Update User (firstname, lastname and state)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " mutation PM_UpdateUserDetails($userID:ID!,$firstname: String!,$lastname: String!,$state:UserStateUpdateInput!){\n  userDetailsUpdate(id:$userID,firstName:$firstname,lastName:$lastname,state:$state) {\n        ok\n      error\n        entity {\n               id\n                state\n                email\n                state\n                role\n                lastName\n                firstName\n                createdAt\n                updatedAt\n         }\n        \n      }\n  }\n\n",
                "variables": "{\"userID\":\"<User ID>\",\n\"firstname\": \"john\",\n\"lastname\": \"doe\",\n\"state\":\"DISABLED\"\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Change User Role",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " mutation\n    PM_UpdateUserRole($userID: ID!,$userRole: UserRole!){\n  userRoleUpdate(id:$userID,role:$userRole) {\n        ok\n      error\n        entity {\n               id\n               \tavatarUrl\n                state\n                email\n                state\n                role\n                lastName\n                firstName\n                createdAt\n                updatedAt\n                groups{\n                  edges{\n                    node{\n                      id\n                    }\n                  }\n                }\n         }\n        \n      }\n  }\n\n",
                "variables": "{\"userID\":\"<User ID>\",\"userRole\":\"ADMIN\"}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Delete User",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " mutation\n    PM_DeleteUser($userID:ID!){\n  userDelete(id:$userID) {\n    ok\n    error\n      }\n  }\n\n",
                "variables": "{\"userID\":\"<User ID>\"\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Service Accounts",
      "item": [
        {
          "name": "[INTRO] - Get all Fields for ServiceAccounts",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "{\n  __type(name: \"ServiceAccount\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": [
            {
              "name": "[INTRO] - Get all Fields for ServiceAccounts",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "graphql",
                  "graphql": {
                    "query": "{\n  __type(name: \"ServiceAccount\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                    "variables": ""
                  }
                },
                "url": {
                  "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
                  "protocol": "https",
                  "host": ["{{tenant_name}}", "twingate", "com"],
                  "path": ["api", "graphql", ""]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Server",
                  "value": "twingate"
                },
                {
                  "key": "Date",
                  "value": "Sat, 21 May 2022 13:20:00 GMT"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Vary",
                  "value": "Cookie, Accept-Encoding"
                },
                {
                  "key": "X-Frame-Options",
                  "value": "DENY"
                },
                {
                  "key": "Strict-Transport-Security",
                  "value": "max-age=31536000; includeSubDomains"
                },
                {
                  "key": "X-Content-Type-Options",
                  "value": "nosniff"
                },
                {
                  "key": "Referrer-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Content-Encoding",
                  "value": "gzip"
                },
                {
                  "key": "Set-Cookie",
                  "value": "csrftoken=oanbqegMZszY5TB3mMQwWW4LtlZ9XaQ48JNdIyWmZqPrKQNWiXYD7Cq9ejDOP7rL; expires=Sat, 20 May 2023 13:20:00 GMT; HttpOnly; Max-Age=31449600; Path=/; SameSite=Lax"
                },
                {
                  "key": "Via",
                  "value": "1.1 google"
                },
                {
                  "key": "Alt-Svc",
                  "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
                },
                {
                  "key": "Transfer-Encoding",
                  "value": "chunked"
                }
              ],
              "cookie": [],
              "body": "{\n    \"data\": {\n        \"__type\": {\n            \"name\": \"ServiceAccount\",\n            \"kind\": \"OBJECT\",\n            \"fields\": [\n                {\n                    \"name\": \"id\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"name\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"createdAt\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"updatedAt\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"resources\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"keys\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                }\n            ]\n        }\n    }\n}"
            }
          ]
        },
        {
          "name": "Get List of Service Accounts",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetServiceAccountList{\n  serviceAccounts(after: \"0\", first:50) {\n    edges {\n      node {\n        id\n        name\n        createdAt\n        updatedAt\n        keys {\n            edges{\n                node{\n                    id\n                    name\n                    createdAt\n                    expiresAt\n                    revokedAt\n                    updatedAt\n                    status\n                }\n            }\n\n        }\n\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get a Service Account",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " query PM_GetServiceAccount($itemID: ID!){\n  serviceAccount(id:$itemID) {\n        id\n        name\n        createdAt\n        updatedAt\n        keys {\n            edges{\n                node{\n                    id\n                    name\n                    createdAt\n                    expiresAt\n                    revokedAt\n                    updatedAt\n                    status\n                }\n            }\n\n        }\n      }\n  }\n\n",
                "variables": "{\"itemID\":\"<service account ID>\"}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Delete Service Account (Complex)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_DeleteServiceAccount($id:ID!){\n    serviceAccountDelete(id: $id) {\n      ok\n      error\n    }\n}\n",
                "variables": "{\n    \"id\":\"<service account ID>\"\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Create Service Account (Complex)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_CreateServiceAccount($name:String!,$resourceIds:[ID!]){\n\n    serviceAccountCreate(name: $name, resourceIds : $resourceIds) {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}\n",
                "variables": "{\n    \"name\":\"myserviceaccount2\",\n    \"resourceIds\":[]\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Set Resources for Service Account (Complex)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_SetResServiceAccount($id:ID!,$resourceIds:[ID!]){\n\n    serviceAccountUpdate(id: $id, resourceIds : $resourceIds) {\n      ok\n      error\n    entity{\n      id\n      name\n    }\n    }\n}\n",
                "variables": "{\n    \"id\":\"<service account id>\",\n    \"resourceIds\":[\"<resource id>\",\"<other resource id>\"]\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Service Account Keys",
      "item": [
        {
          "name": "[INTRO] - Get all Fields for ServiceAccounts",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "{\n  __type(name: \"ServiceAccountKey\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get a Service Account Key",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " query PM_GetServiceAccountKey($itemID: ID!){\n        serviceAccountKey(id:$itemID) {\n       \n                      id\n                            name\n                            createdAt\n                            expiresAt\n                            revokedAt\n                            updatedAt\n                            status\n                            serviceAccount{\n                                    id\n                                    name\n                            }\n  \n      }\n  }\n\n",
                "variables": "{\"itemID\":\"<service account key ID>\"}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Create Service Account (Complex)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation\n    PM_CreateServiceAccountKey($name:String!,$serviceAccountId:ID!,$expirationTime:Int!){\n\n    serviceAccountKeyCreate(name: $name, serviceAccountId : $serviceAccountId, expirationTime : $expirationTime ) {\n      ok\n      error\n      token\n        entity{\n            id\n            name\n            expiresAt\n            revokedAt\n            status\n        }\n    }\n}\n",
                "variables": "{\n    \"name\":\"my Key\",\n    \"serviceAccountId\":\"<service account ID>\",\n    \"expirationTime\":365\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Delete Service Account Key (Complex)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation\n    PM_DeleteServiceAccountKey($id:ID!){\n    serviceAccountKeyDelete(id: $id) {\n      ok\n      error\n    }\n}\n",
                "variables": "{\n    \"id\":\"<service account key ID>\"\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Revoke Service Account Key",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation\n    PM_RevokeServiceAccountKey($id:ID!){\n    serviceAccountKeyRevoke(id: $id) {\n      ok\n      error\n    }\n}\n",
                "variables": "{\n    \"id\":\"<service account key ID>\"\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Update Service Account Key",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation\n    PM_RenameServiceAccountKey($id:ID!,$name:String!){\n    serviceAccountKeyUpdate(id: $id, name: $name) {\n      ok\n      error\n    }\n}\n",
                "variables": "{\n    \"id\":\"<service account key ID>\",\n    \"name\":\"new name\"\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Connectors",
      "item": [
        {
          "name": "Get a Connector",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " query PM_GetConnector($itemID: ID!){\n  connector(id:$itemID) {\n        id\n        name\n        state\n        lastHeartbeatAt\n      }\n  }\n\n",
                "variables": "{\"itemID\":\"<Connector ID>\"}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get List of Connectors",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetListOfConnectors{\n  connectors(after: \"0\", first:10) {\n    edges {\n      node {\n        id\n        name\n        state\n        lastHeartbeatAt\n\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Create Connector",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation PM_CreateConnector($connName: String!, $remoteNetworkID: ID!, $statNotifications: Boolean){\n    connectorCreate(name: $connName,remoteNetworkId: $remoteNetworkID, hasStatusNotificationsEnabled: $statNotifications) {\n      ok\n      error\n      entity{\n        id\n        name\n      }\n      \n    }\n}",
                "variables": "{\n    \"connName\":\"MyNewConnector\",\n    \"remoteNetworkID\":\"<Remote Network ID>\",\n    \"statNotifications\":true\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Groups",
      "item": [
        {
          "name": "[INTRO] - Get all Fields for Group",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "{\n  __type(name: \"Group\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get List of Groups",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetListOfGroups{\n  groups(after: \"0\", first:50) {\n    edges {\n      node {\n        id\n        name\n        createdAt\n        updatedAt\n        isActive\n        type\n        users {\n            edges{\n                node{\n                    id\n                    email\n                    firstName\n                    lastName\n                }\n            }\n        }\n        resources {\n            edges{\n                node{\n                    id\n                    name\n                    address {\n                        type\n                        value\n                    }\n                    isActive\n                }\n            }\n        }\n\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get List of Groups (Simple)",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetListOfGroups{\n  groups(after: \"0\", first:50) {\n    edges {\n      node {\n        id\n        name\n       \n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get a Group",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetGroup{\n  groups(filter:{name:{eq:\"Everyone\"}}) {\n    edges {\n      node {\n        id\n        name\n        createdAt\n        updatedAt\n        isActive\n        type\n        users {\n            edges{\n                node{\n                    id\n                    email\n                    firstName\n                    lastName\n                }\n            }\n        }\n        resources {\n            edges{\n                node{\n                    id\n                    name\n                    address {\n                        type\n                        value\n                    }\n                    isActive\n                }\n            }\n        }\n\n      }\n    }\n    pageInfo {\n      startCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Add Users to Group",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_AddUsersToGroup{\n    groupUpdate(id: \"<Group ID>\", addedUserIds: [\"<user ID>\"]) {\n      ok\n      error\n    }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Add Users to Group [with variables]",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_AddUsersToGroup($groupID: ID!, $userIDS: [ID!]){\n    groupUpdate(id: $groupID, addedUserIds: $userIDS) {\n      ok\n      error\n      entity{\n id\n        name\n        isActive\n        type\n        users {\n            edges{\n                node{\n                    id\n                    email\n                    firstName\n                    lastName\n                }\n            }\n        }\n      }\n      \n    }\n}",
                "variables": "{\n    \"groupID\":\"<Group ID>\",\n    \"userIDS\":[\"<User ID>\",\"<User ID>\"]\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Create Group",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "\nmutation PM_CreateGroup($groupName: String!, $userIDS: [ID!], $resourceIDS: [ID!]){\n    groupCreate(name: $groupName, resourceIds: $resourceIDS, userIds: $userIDS) {\n      ok\n      error\n      entity{\n        id\n        name\n        isActive\n        createdAt\n        updatedAt\n        type\n        users {\n            edges{\n                node{\n                    id\n                    email\n                    firstName\n                    lastName\n                }\n            }\n        }\n        resources {\n            edges{\n                node{\n                    id\n                    name\n                    address {\n                        type\n                        value\n                    }\n                    isActive\n                }\n            }\n        }\n      }\n      \n    }\n}",
                "variables": "{\n    \"groupName\":\"MyNewGroup\",\n    \"userIDS\":[\"<User ID>\",\"<User ID>\"],\n    \"resourceIDS\":[\"<Resource ID>\"]\n}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Delete Group",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_DeleteGroup{\n    groupDelete(id: \"<Group ID>\") {\n      ok\n      error\n    }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Remove Users from Group",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation PM_RemoveUsersFromGroup{\n    groupUpdate(id: \"<Group ID>\", removedUserIds: [\"<User ID>\"]) {\n      ok\n      error\n    }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Remote Networks",
      "item": [
        {
          "name": "[INTRO] - Get all Fields for Remote Network",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "{\n  __type(name: \"RemoteNetwork\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": [
            {
              "name": "[INTRO] - Get all Fields for Remote Network",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "graphql",
                  "graphql": {
                    "query": "{\n  __type(name: \"RemoteNetwork\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
                    "variables": ""
                  }
                },
                "url": {
                  "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
                  "protocol": "https",
                  "host": ["{{tenant_name}}", "twingate", "com"],
                  "path": ["api", "graphql", ""]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Server",
                  "value": "twingate"
                },
                {
                  "key": "Date",
                  "value": "Wed, 11 May 2022 20:03:52 GMT"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Vary",
                  "value": "Cookie, Accept-Encoding"
                },
                {
                  "key": "X-Frame-Options",
                  "value": "DENY"
                },
                {
                  "key": "Strict-Transport-Security",
                  "value": "max-age=31536000; includeSubDomains"
                },
                {
                  "key": "X-Content-Type-Options",
                  "value": "nosniff"
                },
                {
                  "key": "Referrer-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Content-Encoding",
                  "value": "gzip"
                },
                {
                  "key": "Set-Cookie",
                  "value": "csrftoken=oanbqegMZszY5TB3mMQwWW4LtlZ9XaQ48JNdIyWmZqPrKQNWiXYD7Cq9ejDOP7rL; expires=Wed, 10 May 2023 20:03:52 GMT; HttpOnly; Max-Age=31449600; Path=/; SameSite=Lax"
                },
                {
                  "key": "Via",
                  "value": "1.1 google"
                },
                {
                  "key": "Alt-Svc",
                  "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
                },
                {
                  "key": "Transfer-Encoding",
                  "value": "chunked"
                }
              ],
              "cookie": [],
              "body": "{\n    \"data\": {\n        \"__type\": {\n            \"name\": \"RemoteNetwork\",\n            \"kind\": \"OBJECT\",\n            \"fields\": [\n                {\n                    \"name\": \"id\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"createdAt\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"updatedAt\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"name\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"isActive\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"resources\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                },\n                {\n                    \"name\": \"connectors\",\n                    \"type\": {\n                        \"name\": null,\n                        \"kind\": \"NON_NULL\"\n                    }\n                }\n            ]\n        }\n    }\n}"
            }
          ]
        },
        {
          "name": "[INTRO] - Get all Types",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "{\n  __schema {\n    types {\n      name\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": [
            {
              "name": "[INTRO] - Get all Types",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "graphql",
                  "graphql": {
                    "query": "{\n  __schema {\n    types {\n      name\n    \n    }\n  }\n}",
                    "variables": ""
                  }
                },
                "url": {
                  "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
                  "protocol": "https",
                  "host": ["{{tenant_name}}", "twingate", "com"],
                  "path": ["api", "graphql", ""]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Server",
                  "value": "twingate"
                },
                {
                  "key": "Date",
                  "value": "Fri, 06 May 2022 13:17:29 GMT"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Vary",
                  "value": "Cookie, Accept-Encoding"
                },
                {
                  "key": "X-Frame-Options",
                  "value": "DENY"
                },
                {
                  "key": "Strict-Transport-Security",
                  "value": "max-age=31536000; includeSubDomains"
                },
                {
                  "key": "X-Content-Type-Options",
                  "value": "nosniff"
                },
                {
                  "key": "Referrer-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Content-Encoding",
                  "value": "gzip"
                },
                {
                  "key": "Set-Cookie",
                  "value": "csrftoken=oanbqegMZszY5TB3mMQwWW4LtlZ9XaQ48JNdIyWmZqPrKQNWiXYD7Cq9ejDOP7rL; expires=Fri, 05 May 2023 13:17:29 GMT; HttpOnly; Max-Age=31449600; Path=/; SameSite=Lax"
                },
                {
                  "key": "Via",
                  "value": "1.1 google"
                },
                {
                  "key": "Alt-Svc",
                  "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
                },
                {
                  "key": "Transfer-Encoding",
                  "value": "chunked"
                }
              ],
              "cookie": [],
              "body": "{\n    \"data\": {\n        \"__schema\": {\n            \"types\": [\n                {\n                    \"name\": \"QueriesRoot\"\n                },\n                {\n                    \"name\": \"ServiceAccountKey\"\n                },\n                {\n                    \"name\": \"Node\"\n                },\n                {\n                    \"name\": \"ID\"\n                },\n                {\n                    \"name\": \"DateTime\"\n                },\n                {\n                    \"name\": \"String\"\n                },\n                {\n                    \"name\": \"ServiceAccountKeyStatus\"\n                },\n                {\n                    \"name\": \"ServiceAccount\"\n                },\n                {\n                    \"name\": \"ResourceConnection\"\n                },\n                {\n                    \"name\": \"PageInfo\"\n                },\n                {\n                    \"name\": \"Boolean\"\n                },\n                {\n                    \"name\": \"ResourceEdge\"\n                },\n                {\n                    \"name\": \"Resource\"\n                },\n                {\n                    \"name\": \"ResourceAddress\"\n                },\n                {\n                    \"name\": \"AddressType\"\n                },\n                {\n                    \"name\": \"ResourceProtocols\"\n                },\n                {\n                    \"name\": \"ResourceProtocol\"\n                },\n                {\n                    \"name\": \"ProtocolPolicy\"\n                },\n                {\n                    \"name\": \"PortRange\"\n                },\n                {\n                    \"name\": \"Int\"\n                },\n                {\n                    \"name\": \"RemoteNetwork\"\n                },\n                {\n                    \"name\": \"ResourceFilterInput\"\n                },\n                {\n                    \"name\": \"StringFilterOperatorInput\"\n                },\n                {\n                    \"name\": \"ConnectorConnection\"\n                },\n                {\n                    \"name\": \"ConnectorEdge\"\n                },\n                {\n                    \"name\": \"Connector\"\n                },\n                {\n                    \"name\": \"ConnectorState\"\n                },\n                {\n                    \"name\": \"GroupConnection\"\n                },\n                {\n                    \"name\": \"GroupEdge\"\n                },\n                {\n                    \"name\": \"Group\"\n                },\n                {\n                    \"name\": \"GroupType\"\n                },\n                {\n                    \"name\": \"UserConnection\"\n                },\n                {\n                    \"name\": \"UserEdge\"\n                },\n                {\n                    \"name\": \"User\"\n                },\n                {\n                    \"name\": \"UserState\"\n                },\n                {\n                    \"name\": \"GroupFilterInput\"\n                },\n                {\n                    \"name\": \"ServiceAccountKeyConnection\"\n                },\n                {\n                    \"name\": \"ServiceAccountKeyEdge\"\n                },\n                {\n                    \"name\": \"ServiceAccountConnection\"\n                },\n                {\n                    \"name\": \"ServiceAccountEdge\"\n                },\n                {\n                    \"name\": \"ServiceAccountFilterInput\"\n                },\n                {\n                    \"name\": \"DeviceConnection\"\n                },\n                {\n                    \"name\": \"DeviceEdge\"\n                },\n                {\n                    \"name\": \"Device\"\n                },\n                {\n                    \"name\": \"DeviceOsName\"\n                },\n                {\n                    \"name\": \"DeviceType\"\n                },\n                {\n                    \"name\": \"DeviceFilterInput\"\n                },\n                {\n                    \"name\": \"BooleanFilterOperatorInput\"\n                },\n                {\n                    \"name\": \"RemoteNetworkConnection\"\n                },\n                {\n                    \"name\": \"RemoteNetworkEdge\"\n                },\n                {\n                    \"name\": \"RemoteNetworkFilterInput\"\n                },\n                {\n                    \"name\": \"MutationsRoot\"\n                },\n                {\n                    \"name\": \"ServiceAccountKeyCreateMutation\"\n                },\n                {\n                    \"name\": \"ServiceAccountKeyUpdateMutation\"\n                },\n                {\n                    \"name\": \"ServiceAccountKeyRevokeMutation\"\n                },\n                {\n                    \"name\": \"ServiceAccountKeyDeleteMutation\"\n                },\n                {\n                    \"name\": \"ServiceAccountCreateMutation\"\n                },\n                {\n                    \"name\": \"ServiceAccountUpdateMutation\"\n                },\n                {\n                    \"name\": \"ServiceAccountDeleteMutation\"\n                },\n                {\n                    \"name\": \"DeviceUpdateMutation\"\n                },\n                {\n                    \"name\": \"RemoteNetworkCreateMutation\"\n                },\n                {\n                    \"name\": \"RemoteNetworkUpdateMutation\"\n                },\n                {\n                    \"name\": \"RemoteNetworkDeleteMutation\"\n                },\n                {\n                    \"name\": \"ConnectorCreateMutation\"\n                },\n                {\n                    \"name\": \"ConnectorUpdateMutation\"\n                },\n                {\n                    \"name\": \"ConnectorDeleteMutation\"\n                },\n                {\n                    \"name\": \"ConnectorGenerateTokensMutation\"\n                },\n                {\n                    \"name\": \"ConnectorTokens\"\n                },\n                {\n                    \"name\": \"ResourceCreateMutation\"\n                },\n                {\n                    \"name\": \"ProtocolsInput\"\n                },\n                {\n                    \"name\": \"ProtocolInput\"\n                },\n                {\n                    \"name\": \"PortRangeInput\"\n                },\n                {\n                    \"name\": \"ResourceUpdateMutation\"\n                },\n                {\n                    \"name\": \"ResourceDeleteMutation\"\n                },\n                {\n                    \"name\": \"GroupCreateMutation\"\n                },\n                {\n                    \"name\": \"GroupUpdateMutation\"\n                },\n                {\n                    \"name\": \"GroupDeleteMutation\"\n                },\n                {\n                    \"name\": \"__Schema\"\n                },\n                {\n                    \"name\": \"__Type\"\n                },\n                {\n                    \"name\": \"__TypeKind\"\n                },\n                {\n                    \"name\": \"__Field\"\n                },\n                {\n                    \"name\": \"__InputValue\"\n                },\n                {\n                    \"name\": \"__EnumValue\"\n                },\n                {\n                    \"name\": \"__Directive\"\n                },\n                {\n                    \"name\": \"__DirectiveLocation\"\n                }\n            ]\n        }\n    }\n}"
            }
          ]
        },
        {
          "name": "Get a Remote Network",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " query\n    PM_GetRemoteNetwork($itemID: ID!){\n  remoteNetwork(id:$itemID) {\n        id\n        name\n        updatedAt\n        createdAt\n        isActive\n        connectors{\n            edges{\n                node{\n                    id\n                    name\n                }\n            }\n        }\n        resources{\n            edges{\n                node{\n                    id\n                    name\n                }\n            }\n        }\n      }\n  }\n\n",
                "variables": "{\"itemID\":\"UmVtb3RlTmV0d29yazo1MjAy\"}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get List of Remote Networks",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetListOfRemoteNetwork{\n  remoteNetworks(after: \"0\", first:50) {\n    edges {\n      node {\n        id\n        name\n        createdAt\n        updatedAt\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "DNS Security",
      "item": [
        {
          "name": "Get DNSF Profiles",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetDNSFilteringProfile\n{\n  dnsFilteringProfiles{\n        name\n        id\n        priority\n\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Get DNSF Profile info",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query PM_GetDNSFilteringProfile ($id:ID!)\n{\n  dnsFilteringProfile(id: $id){\n        name\n        id\n        priority\n        fallbackMethod\n        allowedDomains\n        deniedDomains\n        contentCategoryConfig {\n            blockAdultContent\n            blockDating\n            blockGambling\n            blockGames\n            blockPiracy\n            blockSocialMedia\n            blockStreaming\n            enableSafeSearch\n            enableYoutubeRestrictedMode\n        }\n        securityCategoryConfig{\n            enableGoogleSafeBrowsing\n            enableThreatIntelligenceFeeds\n            blockCryptojacking\n            blockDnsRebinding\n            blockDomainGenerationAlgorithms\n            blockIdnHomographs\n            blockNewlyRegisteredDomains\n            blockParkedDomains\n            blockTyposquatting\n        }\n        privacyCategoryConfig{\n            blockAdsAndTrackers\n            blockAffiliate\n            blockDisguisedTrackers\n        }\n\n  }\n}",
                "variables": "{\n    \"id\":\"RG5zRmlsdGVyaW5nUHJvZmlsZTpmZjdhYmE=\"\n    }"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        },
        {
          "name": "Set DNS Allowed Domains for profile",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "mutation CLI_SetDNSAllowedDomains($id:ID!,$aDomains:[String!]){\n    dnsFilteringProfileUpdate(id: $id, allowedDomains: $aDomains) {\n      ok\n      error\n    }\n}\n",
                "variables": "{\n    \"id\":\"RG5zRmlsdGVyaW5nUHJvZmlsZTpmZjdhYmE=\",\n    \"aDomains\":[\"lego.com\"]\n    }"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Security Policies",
      "item": [
        {
          "name": "Get a Security Policy",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": " query\n    getObj($itemID: ID!){\n  securityPolicy(id:$itemID) {\n        id\n        name\n        updatedAt\n        createdAt\n        policyType\n        groups {\n            edges{\n                node{\n                    id\n                    name\n                }\n            }\n        }\n      }\n  }\n\n",
                "variables": "{\"itemID\":\"U2VjdXJpdHlQb2xpY3k6NTUwNA==\"}"
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": [
            {
              "name": "Get a Security Policy",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "graphql",
                  "graphql": {
                    "query": " query\n    getObj($itemID: ID!){\n  securityPolicy(id:$itemID) {\n        id\n        name\n        updatedAt\n        createdAt\n        policyType\n        groups {\n            edges{\n                node{\n                    id\n                    name\n                }\n            }\n        }\n      }\n  }\n\n",
                    "variables": "{\"itemID\":\"U2VjdXJpdHlQb2xpY3k6NTUwNA==\"}"
                  }
                },
                "url": {
                  "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
                  "protocol": "https",
                  "host": ["{{tenant_name}}", "twingate", "com"],
                  "path": ["api", "graphql", ""]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Server",
                  "value": "twingate"
                },
                {
                  "key": "Date",
                  "value": "Tue, 16 Aug 2022 14:12:16 GMT"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Vary",
                  "value": "Cookie, Accept-Encoding"
                },
                {
                  "key": "X-Frame-Options",
                  "value": "DENY"
                },
                {
                  "key": "Strict-Transport-Security",
                  "value": "max-age=31536000; includeSubDomains"
                },
                {
                  "key": "X-Content-Type-Options",
                  "value": "nosniff"
                },
                {
                  "key": "Referrer-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Cross-Origin-Opener-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Content-Encoding",
                  "value": "gzip"
                },
                {
                  "key": "Set-Cookie",
                  "value": "csrftoken=oanbqegMZszY5TB3mMQwWW4LtlZ9XaQ48JNdIyWmZqPrKQNWiXYD7Cq9ejDOP7rL; expires=Tue, 15 Aug 2023 14:12:16 GMT; HttpOnly; Max-Age=31449600; Path=/; SameSite=Lax"
                },
                {
                  "key": "Via",
                  "value": "1.1 google"
                },
                {
                  "key": "Alt-Svc",
                  "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
                },
                {
                  "key": "Transfer-Encoding",
                  "value": "chunked"
                }
              ],
              "cookie": [],
              "body": "{\n    \"data\": {\n        \"securityPolicy\": {\n            \"id\": \"U2VjdXJpdHlQb2xpY3k6NTUwNA==\",\n            \"name\": \"Default Policy\",\n            \"updatedAt\": \"2022-07-22T17:48:29.522479+00:00\",\n            \"createdAt\": \"2021-04-22T06:00:36.980990+00:00\",\n            \"policyType\": \"DEFAULT_RESOURCE\",\n            \"groups\": {\n                \"edges\": [\n                    {\n                        \"node\": {\n                            \"id\": \"R3JvdXA6NTMzNw==\",\n                            \"name\": \"Everyone\"\n                        }\n                    },\n                    {\n                        \"node\": {\n                            \"id\": \"R3JvdXA6OTQyMQ==\",\n                            \"name\": \"SaaS Apps\"\n                        }\n                    },\n                    {\n                        \"node\": {\n                            \"id\": \"R3JvdXA6MTI2MzE=\",\n                            \"name\": \"New Twindemo Dev\"\n                        }\n                    },\n                    {\n                        \"node\": {\n                            \"id\": \"R3JvdXA6MTUxMDA=\",\n                            \"name\": \"DBAs\"\n                        }\n                    },\n                    {\n                        \"node\": {\n                            \"id\": \"R3JvdXA6MTg2NDY=\",\n                            \"name\": \"EX.\"\n                        }\n                    },\n                    {\n                        \"node\": {\n                            \"id\": \"R3JvdXA6MTkwMjg=\",\n                            \"name\": \"Okta App Users Group\"\n                        }\n                    },\n                    {\n                        \"node\": {\n                            \"id\": \"R3JvdXA6MTkwNTI=\",\n                            \"name\": \"Execs\"\n                        }\n                    },\n                    {\n                        \"node\": {\n                            \"id\": \"R3JvdXA6MzQ5ODM=\",\n                            \"name\": \"Engineering\"\n                        }\n                    },\n                    {\n                        \"node\": {\n                            \"id\": \"R3JvdXA6NDU4NDI=\",\n                            \"name\": \"Twindemo Connector Maintenance\"\n                        }\n                    },\n                    {\n                        \"node\": {\n                            \"id\": \"R3JvdXA6NTczMDg=\",\n                            \"name\": \"Grafana Access\"\n                        }\n                    },\n                    {\n                        \"node\": {\n                            \"id\": \"R3JvdXA6NTg5MjA=\",\n                            \"name\": \"API test Rachel\"\n                        }\n                    }\n                ]\n            }\n        }\n    }\n}"
            }
          ]
        },
        {
          "name": "Get List of Security Policies",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "{\n  securityPolicies(after: \"0\", first:50) {\n    edges {\n      node {\n        id\n        name\n        createdAt\n        updatedAt\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "response": [
            {
              "name": "Get List of Security Policies",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "graphql",
                  "graphql": {
                    "query": "{\n  remoteNetworks(after: null, first:100) {\n    edges {\n      node {\n        id\n        name\n        createdAt\n        updatedAt\n      }\n    }\n    pageInfo {\n      startCursor\n      hasNextPage\n    }\n  }\n}",
                    "variables": ""
                  }
                },
                "url": {
                  "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
                  "protocol": "https",
                  "host": ["{{tenant_name}}", "twingate", "com"],
                  "path": ["api", "graphql", ""]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Server",
                  "value": "twingate"
                },
                {
                  "key": "Date",
                  "value": "Tue, 16 Aug 2022 14:09:23 GMT"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Vary",
                  "value": "Cookie, Accept-Encoding"
                },
                {
                  "key": "X-Frame-Options",
                  "value": "DENY"
                },
                {
                  "key": "Strict-Transport-Security",
                  "value": "max-age=31536000; includeSubDomains"
                },
                {
                  "key": "X-Content-Type-Options",
                  "value": "nosniff"
                },
                {
                  "key": "Referrer-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Cross-Origin-Opener-Policy",
                  "value": "same-origin"
                },
                {
                  "key": "Content-Encoding",
                  "value": "gzip"
                },
                {
                  "key": "Set-Cookie",
                  "value": "csrftoken=oanbqegMZszY5TB3mMQwWW4LtlZ9XaQ48JNdIyWmZqPrKQNWiXYD7Cq9ejDOP7rL; expires=Tue, 15 Aug 2023 14:09:23 GMT; HttpOnly; Max-Age=31449600; Path=/; SameSite=Lax"
                },
                {
                  "key": "Via",
                  "value": "1.1 google"
                },
                {
                  "key": "Alt-Svc",
                  "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
                },
                {
                  "key": "Transfer-Encoding",
                  "value": "chunked"
                }
              ],
              "cookie": [],
              "body": "{\n    \"data\": {\n        \"securityPolicies\": {\n            \"edges\": [\n                {\n                    \"node\": {\n                        \"id\": \"U2VjdXJpdHlQb2xpY3k6NTUwNA==\",\n                        \"name\": \"Default Policy\",\n                        \"createdAt\": \"2021-04-22T06:00:36.980990+00:00\",\n                        \"updatedAt\": \"2022-07-22T17:48:29.522479+00:00\"\n                    }\n                },\n                {\n                    \"node\": {\n                        \"id\": \"U2VjdXJpdHlQb2xpY3k6NTUwNg==\",\n                        \"name\": \"2FA\",\n                        \"createdAt\": \"2021-04-22T06:00:37.008762+00:00\",\n                        \"updatedAt\": \"2022-05-20T22:45:52.369169+00:00\"\n                    }\n                },\n                {\n                    \"node\": {\n                        \"id\": \"U2VjdXJpdHlQb2xpY3k6ODg5Mw==\",\n                        \"name\": \"Okta Verify 1 Hour\",\n                        \"createdAt\": \"2021-09-15T03:29:53.999079+00:00\",\n                        \"updatedAt\": \"2022-05-20T22:45:52.410895+00:00\"\n                    }\n                },\n                {\n                    \"node\": {\n                        \"id\": \"U2VjdXJpdHlQb2xpY3k6MjM0OTA=\",\n                        \"name\": \"Non-Trusted Devices\",\n                        \"createdAt\": \"2022-03-03T18:39:08.168013+00:00\",\n                        \"updatedAt\": \"2022-07-20T19:16:36.255057+00:00\"\n                    }\n                },\n                {\n                    \"node\": {\n                        \"id\": \"U2VjdXJpdHlQb2xpY3k6MjQwMjk=\",\n                        \"name\": \"Gitlab\",\n                        \"createdAt\": \"2022-03-10T14:26:05.687689+00:00\",\n                        \"updatedAt\": \"2022-05-20T22:45:52.390802+00:00\"\n                    }\n                },\n                {\n                    \"node\": {\n                        \"id\": \"U2VjdXJpdHlQb2xpY3k6MjcxOTg=\",\n                        \"name\": \"Okta Verify 2\",\n                        \"createdAt\": \"2022-04-07T21:26:35.502975+00:00\",\n                        \"updatedAt\": \"2022-05-20T22:45:52.377251+00:00\"\n                    }\n                },\n                {\n                    \"node\": {\n                        \"id\": \"U2VjdXJpdHlQb2xpY3k6NDA3OTk=\",\n                        \"name\": \"Forage Test Policy\",\n                        \"createdAt\": \"2022-07-22T00:50:27.862963+00:00\",\n                        \"updatedAt\": \"2022-07-22T00:51:31.480956+00:00\"\n                    }\n                },\n                {\n                    \"node\": {\n                        \"id\": \"U2VjdXJpdHlQb2xpY3k6NDI1MjY=\",\n                        \"name\": \"SaaS Apps\",\n                        \"createdAt\": \"2022-08-09T14:28:04.603821+00:00\",\n                        \"updatedAt\": \"2022-08-09T14:30:25.976101+00:00\"\n                    }\n                },\n                {\n                    \"node\": {\n                        \"id\": \"U2VjdXJpdHlQb2xpY3k6NDI2NzI=\",\n                        \"name\": \"on prem resources\",\n                        \"createdAt\": \"2022-08-10T14:25:51.847349+00:00\",\n                        \"updatedAt\": \"2022-08-10T14:25:51.847370+00:00\"\n                    }\n                }\n            ],\n            \"pageInfo\": {\n                \"startCursor\": \"YXJyYXljb25uZWN0aW9uOjA=\",\n                \"hasNextPage\": false\n            }\n        }\n    }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "[INTRO] - Get all Fields for X Object",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "graphql",
          "graphql": {
            "query": "{\n  __type(name: \"User\") {\n    name\n    kind\n    fields {\n        name\n        type{\n            name\n            kind\n        }\n    }\n  }\n}",
            "variables": ""
          }
        },
        "url": {
          "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
          "protocol": "https",
          "host": ["{{tenant_name}}", "twingate", "com"],
          "path": ["api", "graphql", ""]
        }
      },
      "response": []
    },
    {
      "name": "[INTRO] - All Mutations",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "graphql",
          "graphql": {
            "query": "query {\n  __schema {\n    mutationType {\n      name\n      fields {\n        name\n        args {\n          name\n          defaultValue\n          type {\n            ...TypeRef\n          }\n        }\n      }\n    }\n  }\n}\n\nfragment TypeRef on __Type {\n  kind\n  name\n  ofType {\n    kind\n    name\n    ofType {\n      kind\n      name\n      ofType {\n        kind\n        name\n        ofType {\n          kind\n          name\n          ofType {\n            kind\n            name\n            ofType {\n              kind\n              name\n              ofType {\n                kind\n                name\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}",
            "variables": ""
          }
        },
        "url": {
          "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
          "protocol": "https",
          "host": ["{{tenant_name}}", "twingate", "com"],
          "path": ["api", "graphql", ""]
        }
      },
      "response": [
        {
          "name": "[INTRO] - All Mutations",
          "originalRequest": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "graphql",
              "graphql": {
                "query": "query {\n  __schema {\n    mutationType {\n      name\n      fields {\n        name\n        args {\n          name\n          defaultValue\n          type {\n            ...TypeRef\n          }\n        }\n      }\n    }\n  }\n}\n\nfragment TypeRef on __Type {\n  kind\n  name\n  ofType {\n    kind\n    name\n    ofType {\n      kind\n      name\n      ofType {\n        kind\n        name\n        ofType {\n          kind\n          name\n          ofType {\n            kind\n            name\n            ofType {\n              kind\n              name\n              ofType {\n                kind\n                name\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}",
                "variables": ""
              }
            },
            "url": {
              "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
              "protocol": "https",
              "host": ["{{tenant_name}}", "twingate", "com"],
              "path": ["api", "graphql", ""]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Server",
              "value": "twingate"
            },
            {
              "key": "Date",
              "value": "Fri, 06 May 2022 20:55:50 GMT"
            },
            {
              "key": "Content-Type",
              "value": "application/json"
            },
            {
              "key": "Vary",
              "value": "Cookie, Accept-Encoding"
            },
            {
              "key": "X-Frame-Options",
              "value": "DENY"
            },
            {
              "key": "Strict-Transport-Security",
              "value": "max-age=31536000; includeSubDomains"
            },
            {
              "key": "X-Content-Type-Options",
              "value": "nosniff"
            },
            {
              "key": "Referrer-Policy",
              "value": "same-origin"
            },
            {
              "key": "Content-Encoding",
              "value": "gzip"
            },
            {
              "key": "Set-Cookie",
              "value": "csrftoken=oanbqegMZszY5TB3mMQwWW4LtlZ9XaQ48JNdIyWmZqPrKQNWiXYD7Cq9ejDOP7rL; expires=Fri, 05 May 2023 20:55:50 GMT; HttpOnly; Max-Age=31449600; Path=/; SameSite=Lax"
            },
            {
              "key": "Via",
              "value": "1.1 google"
            },
            {
              "key": "Alt-Svc",
              "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
            },
            {
              "key": "Transfer-Encoding",
              "value": "chunked"
            }
          ],
          "cookie": [],
          "body": "{\n    \"data\": {\n        \"__schema\": {\n            \"mutationType\": {\n                \"name\": \"MutationsRoot\",\n                \"fields\": [\n                    {\n                        \"name\": \"serviceAccountKeyCreate\",\n                        \"args\": [\n                            {\n                                \"name\": \"expirationTime\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"Int\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"name\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"String\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"serviceAccountId\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"serviceAccountKeyUpdate\",\n                        \"args\": [\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"name\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"String\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"serviceAccountKeyRevoke\",\n                        \"args\": [\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"serviceAccountKeyDelete\",\n                        \"args\": [\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"serviceAccountCreate\",\n                        \"args\": [\n                            {\n                                \"name\": \"name\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"String\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"resourceIds\",\n                                \"defaultValue\": \"[]\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"serviceAccountUpdate\",\n                        \"args\": [\n                            {\n                                \"name\": \"addedResourceIds\",\n                                \"defaultValue\": \"[]\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"name\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"String\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"removedResourceIds\",\n                                \"defaultValue\": \"[]\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"serviceAccountDelete\",\n                        \"args\": [\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"deviceUpdate\",\n                        \"args\": [\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"isTrusted\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"Boolean\",\n                                    \"ofType\": null\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"remoteNetworkCreate\",\n                        \"args\": [\n                            {\n                                \"name\": \"isActive\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"Boolean\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"name\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"String\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"remoteNetworkUpdate\",\n                        \"args\": [\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"isActive\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"Boolean\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"name\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"String\",\n                                    \"ofType\": null\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"remoteNetworkDelete\",\n                        \"args\": [\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"connectorCreate\",\n                        \"args\": [\n                            {\n                                \"name\": \"remoteNetworkId\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"connectorUpdate\",\n                        \"args\": [\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"name\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"String\",\n                                    \"ofType\": null\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"connectorDelete\",\n                        \"args\": [\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"connectorGenerateTokens\",\n                        \"args\": [\n                            {\n                                \"name\": \"connectorId\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"resourceCreate\",\n                        \"args\": [\n                            {\n                                \"name\": \"address\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"String\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"groupIds\",\n                                \"defaultValue\": \"[]\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"name\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"String\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"protocols\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"INPUT_OBJECT\",\n                                    \"name\": \"ProtocolsInput\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"remoteNetworkId\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"resourceUpdate\",\n                        \"args\": [\n                            {\n                                \"name\": \"addedGroupIds\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"address\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"String\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"groupIds\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"isActive\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"Boolean\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"name\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"String\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"protocols\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"INPUT_OBJECT\",\n                                    \"name\": \"ProtocolsInput\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"remoteNetworkId\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"ID\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"removedGroupIds\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"resourceDelete\",\n                        \"args\": [\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"groupCreate\",\n                        \"args\": [\n                            {\n                                \"name\": \"name\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"String\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"resourceIds\",\n                                \"defaultValue\": \"[]\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"userIds\",\n                                \"defaultValue\": \"[]\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"groupUpdate\",\n                        \"args\": [\n                            {\n                                \"name\": \"addedResourceIds\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"addedUserIds\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"isActive\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"Boolean\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"name\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"SCALAR\",\n                                    \"name\": \"String\",\n                                    \"ofType\": null\n                                }\n                            },\n                            {\n                                \"name\": \"removedResourceIds\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"removedUserIds\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"resourceIds\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"userIds\",\n                                \"defaultValue\": \"null\",\n                                \"type\": {\n                                    \"kind\": \"LIST\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"name\": \"groupDelete\",\n                        \"args\": [\n                            {\n                                \"name\": \"id\",\n                                \"defaultValue\": null,\n                                \"type\": {\n                                    \"kind\": \"NON_NULL\",\n                                    \"name\": null,\n                                    \"ofType\": {\n                                        \"kind\": \"SCALAR\",\n                                        \"name\": \"ID\",\n                                        \"ofType\": null\n                                    }\n                                }\n                            }\n                        ]\n                    }\n                ]\n            }\n        }\n    }\n}"
        }
      ]
    },
    {
      "name": "Get IDs for X Object",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "graphql",
          "graphql": {
            "query": "{\n  users(after: null, first:100) {\n    edges {\n      node {\n        id\n        firstName\n        lastName\n      }\n    }\n    pageInfo {\n      startCursor\n      hasNextPage\n    }\n  }\n}",
            "variables": ""
          }
        },
        "url": {
          "raw": "https://{{tenant_name}}.twingate.com/api/graphql/",
          "protocol": "https",
          "host": ["{{tenant_name}}", "twingate", "com"],
          "path": ["api", "graphql", ""]
        }
      },
      "response": []
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "value",
        "value": "<API Token>",
        "type": "string"
      },
      {
        "key": "key",
        "value": "X-API-KEY",
        "type": "string"
      }
    ]
  },
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [""]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "exec": [""]
      }
    }
  ],
  "variable": [
    {
      "key": "tenant_name",
      "value": "<tenant name>",
      "type": "string"
    }
  ]
}
