⚙️API Integration
Panel
Networks
5 min
use those apis to add static ips, ranges, and dynamic networks ✨to add a different profiles to an existing network, please add the same network with a different profile id ✨to delete a specific profile from an existing network, call the delete apis with the profile you want to remove { "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 \\"ip version\\" 4,\n \\"status\\" {\n \\"has traffic\\" false\n }\n }\n ],\n \\"single\\" \[\n {\n \\"ip\\" \\"4 5 32 3\\",\n \\"profiles\\" \[\n 1,\n 4\n ],\n \\"description\\" \\"my ip\\",\n \\"ip version\\" 4,\n \\"status\\" {\n \\"has traffic\\" true\n }\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 \\"status\\" {\n \\"has traffic\\" true\n }\n }\n ],\n \\"encrypted\\" \[\n {\n \\"id\\" \\"76a27aa0\\",\n \\"name\\" \\"my doh & dot network\\",\n \\"profile\\" 0,\n \\"remote doh\\" \\"https //doh flashstart com/76a27aa0\\",\n \\"remote dot\\" \\"https //76a27aa0 dot flashstart com\\"\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" } } { "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" } } { "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" } } { "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" } } { "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" } } { "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" } } { "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" } } { "name" "add encrypted network ", "method" "post", "url" "https //api fsflt net/panel/network/encrypted/add", "description" "add an encrypted network (dns over https & dns over tls)", "tab" "examples", "examples" { "languages" \[ { "id" "knyftej5oojcqw7f4kjj5", "language" "curl", "code" "curl location 'https //api fsflt net/panel/network/encrypted/add' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"integer\\",\\"profile code\\" \\"integer\\",\\"name\\" \\"string\\"}'", "customlabel" "" }, { "id" "e2ucqbiiwcraw 6midlak", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'post',\n 'url' 'https //api fsflt net/panel/network/encrypted/add',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"integer\\",\\"profile code\\" \\"integer\\",\\"name\\" \\"string\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "6ruxqdvpestzz7evjtoi4", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"name\\\\\\" \\\\\\"string\\\\\\"}\\";\n\nvar requestoptions = {\n method 'post',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/panel/network/encrypted/add\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "e2yutsedw21ntqy n5eos", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/panel/network/encrypted/add\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"name\\\\\\" \\\\\\"string\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"post\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "bg4hxc0ruck63hfcnmm7a", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/panel/network/encrypted/add\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http post new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"name\\\\\\" \\\\\\"string\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "knyftej5oojcqw7f4kjj5" }, "results" { "languages" \[ { "id" "gqpyjiezykmwy a8eaug4", "language" "200", "customlabel" "", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"id\\" \\"d7861a0f\\",\n \\"name\\" \\"my encrypted network\\",\n \\"profile\\" 0,\n \\"remote doh\\" \\"https //doh flashstart com/d7861a0f\\",\n \\"remote dot\\" \\"https //d7861a0f dot flashstart com\\"\n }\n}" }, { "id" "pdabybpaxofrmyopwd86k", "language" "409", "code" "{\n \\"code\\" 409,\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" "name", "kind" "optional", "type" "string", "description" "network name", "children" \[] } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "name" "remove encrypted network", "method" "post", "url" "https //api fsflt net/panel/network/encrypted/remove", "description" "remove an encrypted network (dns over https & dns over tls)", "tab" "examples", "examples" { "languages" \[ { "id" "9l1h7kpo9gu5v02vox65t", "language" "curl", "code" "curl location 'https //api fsflt net/panel/network/encrypted/remove' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"integer\\",\\"id\\" \\"integer\\"}'", "customlabel" "" }, { "id" "g6sf qlrmeko7vv4uu84x", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'post',\n 'url' 'https //api fsflt net/panel/network/encrypted/remove',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"integer\\",\\"id\\" \\"integer\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "klrkc63ztaddimh87triq", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"id\\\\\\" \\\\\\"integer\\\\\\"}\\";\n\nvar requestoptions = {\n method 'post',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/panel/network/encrypted/remove\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "io8gbtlj7g6ic 9uy3j00", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/panel/network/encrypted/remove\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"id\\\\\\" \\\\\\"integer\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"post\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "yx9z6yoeskxffoaaarwq ", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/panel/network/encrypted/remove\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http post new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"id\\\\\\" \\\\\\"integer\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "9l1h7kpo9gu5v02vox65t" }, "results" { "languages" \[ { "id" "gqpyjiezykmwy a8eaug4", "language" "200", "customlabel" "", "code" "{\n \\"code\\" 200,\n \\"content\\" \\"doh & dot network deleted successfully\\"\n}" }, { "id" "pdabybpaxofrmyopwd86k", "language" "409", "code" "{\n \\"code\\" 409,\n \\"content\\" \\"profile not found\\"\n}", "customlabel" "" }, { "id" "mmydz4e7u25go3zlytjjj", "language" "406", "code" "{\n \\"code\\" 406,\n \\"content\\" \\"doh & dot network not found\\"\n}", "customlabel" "" } ], "selectedlanguageid" "mmydz4e7u25go3zlytjjj" }, "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" "id", "kind" "required", "type" "integer", "description" "id of the encrypted network (from panel/network/list/ endpoint)", "children" \[] } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } }