---
title: Redes
slug: pt/redes
docTags: 
createdAt: 2024-01-10T10:58:02.918Z
---

Use those APIs to add Static IPs, Ranges, and Dynamic networks.

:::hint{type="info"}
✨To Add a different Profiles to an existing Network, please add the same Network with a different Profile ID.&#x20;

✨To Delete a specific Profile from an existing Network, call the delete APIs with the profile you want to remove.
:::

:::ApiMethodV2
```json
{
  "name": "Get Customer's Network",
  "method": "GET",
  "url": "https://api.fsflt.net/panel/network/list",
  "description": "Get the list of the Customer's Network",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "IJnDOHe18iBMWn0HJzK5l",
        "language": "curl",
        "code": "curl --location --request GET 'https://api.fsflt.net/panel/network/list' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Integer\"}'",
        "customLabel": ""
      },
      {
        "id": "RuHAiT0QaNdisnucxHQSr",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'GET',\n   'url': 'https://api.fsflt.net/panel/network/list',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Integer\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "UMLqxikkVeoGNmTClP_IC",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"customer_code\": \"Integer\"\n});\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/network/list\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "zqOXXhHppzu5rw1_am8J_",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/network/list\"\n\npayload = json.dumps({\n   \"customer_code\": \"Integer\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "XiEozlIediINQWgqxXMO-",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/network/list\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"customer_code\": \"Integer\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "IJnDOHe18iBMWn0HJzK5l"
  },
  "results": {
    "languages": [
      {
        "id": "lXLHiFI45_mrwOQU1ncI5",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"code\": 200,\n    \"content\": {\n        \"static\": {\n            \"range\": [\n                {\n                    \"ip_from\": \"5.6.2.3\",\n                    \"ip_to\": \"5.6.5.3\",\n                    \"profiles\": [\n                        0\n                    ],\n                    \"description\": \"My Range\"\n                }\n            ],\n            \"single\": [\n                {\n                    \"ip\": \"4.5.32.3\",\n                    \"profiles\": [\n                        1,\n                        4\n                    ],\n                    \"description\": \"My IP\"\n                }\n            ]\n        },\n        \"dynamic\": [\n            {\n                \"username\": \"email@email.com\",\n                \"description\": \"My Dynamic Network\",\n                \"profiles\": [\n                    0\n                ],\n                \"device\": {\n                    \"id\": \"33.2\",\n                    \"brand_name\": \"MikroTik\",\n                    \"brand_code\": \"mikrotik\",\n                    \"device_name\": \"Mikrotik NAT connection (DNS over VPN)\"\n                }\n            }\n        ]\n    }\n}"
      }
    ],
    "selectedLanguageId": "lXLHiFI45_mrwOQU1ncI5"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "customer_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Customer"
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "get-customers-network",
  "legacyHash": "NKxHeAdXtoDvXgUtP1-lJ"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Add Static IP",
  "method": "POST",
  "url": "https://api.fsflt.net/panel/network/static/single/add",
  "description": "Add a Static WAN IP (IPv4 / IPv6). LAN IPs are not allowed.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "xSISGPExvG6dJ7U6Cu5p-",
        "language": "curl",
        "code": "curl --location 'https://api.fsflt.net/panel/network/static/single/add' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Integer\",\"profile_code\":\"Integer\",\"ip\":\"string\"}'",
        "customLabel": ""
      },
      {
        "id": "-sxnZhH4-KEDyKgxgNjfZ",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.fsflt.net/panel/network/static/single/add',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Integer\",\n      \"profile_code\": \"Integer\",\n      \"ip\": \"string\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "UXRAeBaiQWcTS9Tvvk09L",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip\": \"string\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/network/static/single/add\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "zAi18BhGMi-NR5FupQ5Vl",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/network/static/single/add\"\n\npayload = json.dumps({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip\": \"string\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "T1hn1vFzGXk5_tYUK2gzT",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/network/static/single/add\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip\": \"string\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "xSISGPExvG6dJ7U6Cu5p-"
  },
  "results": {
    "languages": [
      {
        "id": "hsxcPPR9Z4rUgwiPym55k",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"code\": 200,\n    \"content\": \"Static Network created successfully\"\n}"
      },
      {
        "id": "EE0AeICJFMzW5yDzSaf0c",
        "language": "412",
        "customLabel": "",
        "code": "{\n    \"code\": 412,\n    \"content\": \"You can't insert internal IPs\"\n}"
      },
      {
        "id": "jqWOr3_aD7penEzKPE0vW",
        "language": "406",
        "code": "// The Network may already be registered in a different customer with the same Profile DNSs\n{\n    \"code\": 406,\n    \"content\": \"Static Network already exists\"\n}",
        "customLabel": ""
      },
      {
        "id": "Xc7UQutx2p60q_UIzTjJR",
        "language": "409",
        "code": "{\n    \"code\": 409,\n    \"content\": \"Profile not found\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "Xc7UQutx2p60q_UIzTjJR"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "customer_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Customer"
      },
      {
        "name": "profile_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Profile",
        "children": []
      },
      {
        "name": "ip",
        "kind": "required",
        "type": "string",
        "description": "Static IPv4 / IPv6",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "add-static-ip",
  "legacyHash": "N6izUW6yq_gulCjjQrIIT"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Remove a Static IP",
  "method": "POST",
  "url": "https://api.fsflt.net/panel/network/static/single/remove",
  "description": "Remove a Static IP (IPv4 / IPv6)",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "rBkjySdBtWaAWZu5kVt4m",
        "language": "curl",
        "code": "curl --location 'https://api.fsflt.net/panel/network/static/single/remove' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Integer\",\"profile_code\":\"Integer\",\"ip\":\"string\"}'",
        "customLabel": ""
      },
      {
        "id": "C_jR3LiHw90rvBjgbQC00",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.fsflt.net/panel/network/static/single/remove',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Integer\",\n      \"profile_code\": \"Integer\",\n      \"ip\": \"string\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "RpgVCVuyBZix65iSJt5lb",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip\": \"string\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/network/static/single/remove\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "vlbSlGX6ZXaPL7SwNIDSx",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/network/static/single/remove\"\n\npayload = json.dumps({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip\": \"string\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "1ljFyyrlaFPRA32fZaZj4",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/network/static/single/remove\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip\": \"string\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "rBkjySdBtWaAWZu5kVt4m"
  },
  "results": {
    "languages": [
      {
        "id": "lCZOI_2o2jWaxu4a8EydZ",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"code\": 200,\n    \"content\": \"Static Network removed successfully\"\n}"
      },
      {
        "id": "LIUL-Z4PtPcXew6VhGEFk",
        "language": "406",
        "code": "{\n    \"code\": 406,\n    \"content\": \"Static Network doesn't exists\"\n}",
        "customLabel": ""
      },
      {
        "id": "98ycIXlxRCxLXUwL8LlEg",
        "language": "409",
        "code": "{\n    \"code\": 409,\n    \"content\": \"Profile not found\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "98ycIXlxRCxLXUwL8LlEg"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "customer_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Customer"
      },
      {
        "name": "profile_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Profile",
        "children": []
      },
      {
        "name": "ip",
        "kind": "required",
        "type": "string",
        "description": "Static IPv4 / IPv6",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "remove-a-static-ip",
  "legacyHash": "W67HKlwQPMIHAU1FKWptQ"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Add a Static Range IP ",
  "method": "POST",
  "url": "https://api.fsflt.net/panel/network/static/range/add",
  "description": "Add a Static Range IP (IPv4 only) LAN IPs are not allowed. ",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "Ai0GoFZnM_y2KQaEcrvw6",
        "language": "curl",
        "code": "curl --location 'https://api.fsflt.net/panel/network/static/range/add' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Integer\",\"profile_code\":\"Integer\",\"ip_from\":\"string\",\"ip_to\":\"string\"}'",
        "customLabel": ""
      },
      {
        "id": "9Cez6-03EHSyD99nMHwMK",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.fsflt.net/panel/network/static/range/add',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Integer\",\n      \"profile_code\": \"Integer\",\n      \"ip_from\": \"string\",\n      \"ip_to\": \"string\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "xEDah1Exhy8eqh5mrWlmT",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip_from\": \"string\",\n   \"ip_to\": \"string\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/network/static/range/add\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "_1C33G3apyzTo-86rWlxe",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/network/static/range/add\"\n\npayload = json.dumps({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip_from\": \"string\",\n   \"ip_to\": \"string\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "r38IQlKzc8VZxyUIQUytK",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/network/static/range/add\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip_from\": \"string\",\n   \"ip_to\": \"string\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "Ai0GoFZnM_y2KQaEcrvw6"
  },
  "results": {
    "languages": [
      {
        "id": "NNCl89WezcJKzYNV4LDx8",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"code\": 200,\n    \"content\": \"Static Network created successfully\"\n}"
      },
      {
        "id": "B9yEpYRTvVTaWclbn15IQ",
        "language": "412",
        "customLabel": "",
        "code": "{\n    \"code\": 412,\n    \"content\": \"You can't insert internal IPs\"\n}"
      },
      {
        "id": "lKr7K3kF9JiLQVz17dI5P",
        "language": "406",
        "code": "{\n    \"code\": 406,\n    \"content\": \"Some IPs of this range are already present: x.x.x.x\"\n}",
        "customLabel": ""
      },
      {
        "id": "1_xxDqhZ9cbIxI8Nh7ZHc",
        "language": "416",
        "code": "{\n    \"code\": 416,\n    \"content\": \"You can't insert a range greather than XY IPs. Please contact the Support to add more.\"\n}",
        "customLabel": ""
      },
      {
        "id": "63pLIKrSMeT_SuhFxx9bs",
        "language": "409",
        "code": "{\n    \"code\": 409,\n    \"content\": \"Profile not found\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "1_xxDqhZ9cbIxI8Nh7ZHc"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "customer_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Customer"
      },
      {
        "name": "profile_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Profile",
        "children": []
      },
      {
        "name": "ip_from",
        "kind": "required",
        "type": "string",
        "description": "Start IP (IPv4 only)",
        "children": []
      },
      {
        "name": "ip_to",
        "kind": "required",
        "type": "string",
        "description": "End IP (IPv4 only)",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "add-a-static-range-ip",
  "legacyHash": "JtppuI6dIhVBj929h2nVV"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Remove a Static IP Range",
  "method": "POST",
  "url": "https://api.fsflt.net/panel/network/static/range/remove",
  "description": "Remove a Static IP Range (IPv4) LAN IPs are not allowed.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "6r1mxqhIrkDuF8k18EDvz",
        "language": "curl",
        "code": "curl --location 'https://api.fsflt.net/panel/network/static/range/add' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Integer\",\"profile_code\":\"Integer\",\"ip_from\":\"string\",\"ip_to\":\"string\"}'",
        "customLabel": ""
      },
      {
        "id": "Ak_VKIgDtlxLxc49s7kSy",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.fsflt.net/panel/network/static/range/add',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Integer\",\n      \"profile_code\": \"Integer\",\n      \"ip_from\": \"string\",\n      \"ip_to\": \"string\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "yiipvQGr71DvR7PilIiaG",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip_from\": \"string\",\n   \"ip_to\": \"string\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/network/static/range/add\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "hCA8ZyZEprEe-_f_Zh0nY",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/network/static/range/add\"\n\npayload = json.dumps({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip_from\": \"string\",\n   \"ip_to\": \"string\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "4pR80uyyfCT3yAuUVOSLO",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/network/static/range/add\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"ip_from\": \"string\",\n   \"ip_to\": \"string\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "6r1mxqhIrkDuF8k18EDvz"
  },
  "results": {
    "languages": [
      {
        "id": "OSBDqKStBwMgLqv4smV37",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"code\": 200,\n    \"content\": \"Static Network removed successfully\"\n}"
      },
      {
        "id": "dehhvOetTexcWqN3LUiFu",
        "language": "416",
        "customLabel": "",
        "code": "{\n    \"code\": 416,\n    \"content\": \"You can't insert a range greather than XY IPs. Please contact the Support to add more.\"\n}"
      },
      {
        "id": "xNSab7CB24LF3aN6lwbAJ",
        "language": "406",
        "code": "{\n    \"code\": 406,\n    \"content\": \"Static Network doesn't exists\"\n}",
        "customLabel": ""
      },
      {
        "id": "hfLfyFBA0vXD5LTVFMvbA",
        "language": "409",
        "code": "{\n    \"code\": 409,\n    \"content\": \"Profile not found\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "hfLfyFBA0vXD5LTVFMvbA"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "customer_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Customer"
      },
      {
        "name": "profile_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Profile",
        "children": []
      },
      {
        "name": "ip_from",
        "kind": "required",
        "type": "string",
        "description": "Start IP (IPv4 only)",
        "children": []
      },
      {
        "name": "ip_to",
        "kind": "required",
        "type": "string",
        "description": "End IP (IPv4 only)",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "remove-a-static-ip-range",
  "legacyHash": "5zLZ4CYFajuIT0LDS8MEe"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Add Dynamic Network",
  "method": "POST",
  "url": "https://api.fsflt.net/panel/network/dynamic/add",
  "description": "Add a Dynamic Network with an optional NetworkDevice",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "6mNHskd-Z7xmMQp_NvRFJ",
        "language": "curl",
        "code": "curl --location 'https://api.fsflt.net/panel/network/static/range/add' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Integer\",\"profile_code\":\"Integer\",\"username\":\"string\",\"password\":\"string\",\"device_id\":\"Number\",\"lang\":\"string\"}'",
        "customLabel": ""
      },
      {
        "id": "cIgclGWbz5YE5NMXMMcQu",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.fsflt.net/panel/network/static/range/add',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Integer\",\n      \"profile_code\": \"Integer\",\n      \"username\": \"string\",\n      \"password\": \"string\",\n      \"device_id\": \"Number\",\n      \"lang\": \"string\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "UrzWEpnuqPpxfeoGwEt-e",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"username\": \"string\",\n   \"password\": \"string\",\n   \"device_id\": \"Number\",\n   \"lang\": \"string\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/network/static/range/add\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "lQe0b4V-bSRtYA43IYUK0",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/network/static/range/add\"\n\npayload = json.dumps({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"username\": \"string\",\n   \"password\": \"string\",\n   \"device_id\": \"Number\",\n   \"lang\": \"string\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "akfr72A0CjNPZrR_mwqiw",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/network/static/range/add\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"username\": \"string\",\n   \"password\": \"string\",\n   \"device_id\": \"Number\",\n   \"lang\": \"string\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "6mNHskd-Z7xmMQp_NvRFJ"
  },
  "results": {
    "languages": [
      {
        "id": "qm4bZWdDepbv47eOkVdET",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"code\": 200,\n    \"content\": \"Dynamic Network created successfully\"\n}"
      },
      {
        "id": "J6Xc0sALGikk3XLlPu_wU",
        "language": "409",
        "customLabel": "",
        "code": "{\n    \"code\": 409,\n    \"content\": \"Profile not found\"\n}"
      },
      {
        "id": "GxdYFM29nAkcC-Ugg5yiZ",
        "language": "408",
        "code": "{\n    \"code\": 408,\n    \"content\": \"You are using an existing username's Dynamic Network. Please change the Profile in order to add another one to the existing Network.\"\n}",
        "customLabel": ""
      },
      {
        "id": "0E8BjrBLcjNJ6LUf7bhcl",
        "language": "412",
        "code": "{\n    \"code\": 412,\n    \"content\": \"Please choose a different username.\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "0E8BjrBLcjNJ6LUf7bhcl"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "customer_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Customer"
      },
      {
        "name": "profile_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Profile",
        "children": []
      },
      {
        "name": "username",
        "kind": "required",
        "type": "string",
        "description": "Network DyDNS Username. ",
        "children": []
      },
      {
        "name": "password",
        "kind": "required",
        "type": "string",
        "description": "Password of the Dynamic Network, requested to update the IP. Needs to be between 8-16 chars, only Dollar Sign ($) is accepted as special char.",
        "children": []
      },
      {
        "name": "device_id",
        "kind": "optional",
        "type": "Number",
        "description": "NetworkDevice ID, may be a Mikrotik Over VPN or a different device type. Use the device/list endpoint to list all the available NetworkDevices.",
        "children": []
      },
      {
        "name": "lang",
        "kind": "optional",
        "type": "string",
        "description": "Lang code (in ES,DE,FR,PT,IT,EN)\nRequired only if device_id is sent.",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "add-dynamic-network",
  "legacyHash": "4XLGTKIbFS9wE0JEsbGKS"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Delete Dynamic Network",
  "method": "POST",
  "url": "https://api.fsflt.net/panel/network/dynamic/remove",
  "description": "Delete a Dynamic Network",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "ssCXM1_ZMVTflHTaMT4fX",
        "language": "curl",
        "code": "curl --location 'https://api.fsflt.net/panel/network/static/range/add' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Integer\",\"profile_code\":\"Integer\",\"username\":\"string\"}'",
        "customLabel": ""
      },
      {
        "id": "XcyRCok6tTIC-Q2m53k_t",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.fsflt.net/panel/network/static/range/add',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Integer\",\n      \"profile_code\": \"Integer\",\n      \"username\": \"string\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "_-18vmeQz3H-C_g6d7tHe",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"username\": \"string\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/network/static/range/add\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "LFr-4D2y5x19RQxQtgxyZ",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/network/static/range/add\"\n\npayload = json.dumps({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"username\": \"string\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "iKkZvqE6WrbIKGrp8LsMN",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/network/static/range/add\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"customer_code\": \"Integer\",\n   \"profile_code\": \"Integer\",\n   \"username\": \"string\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "ssCXM1_ZMVTflHTaMT4fX"
  },
  "results": {
    "languages": [
      {
        "id": "GQpYjIEzykMWY-a8eauG4",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"code\": 200,\n    \"content\": \"Dynamic Network deleted successfully\"\n}"
      },
      {
        "id": "ZHTqFmh9y67bOWEPsrQfh",
        "language": "406",
        "customLabel": "",
        "code": "{\n    \"code\": 406,\n    \"content\": \"Dynamic Network not found\"\n}"
      },
      {
        "id": "PdAbYbPaXofrMYopWd86K",
        "language": "409",
        "code": "{\n    \"code\": 406,\n    \"content\": \"Profile not found\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "PdAbYbPaXofrMYopWd86K"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "customer_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Customer"
      },
      {
        "name": "profile_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Profile",
        "children": []
      },
      {
        "name": "username",
        "kind": "required",
        "type": "string",
        "description": "Network username",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "delete-dynamic-network",
  "legacyHash": "tCpFmNVbN7doFVsFa1ar1"
}
```
:::

