---
title: Profili
slug: it/profili
docTags: 
createdAt: 2021-12-14T09:11:33.000Z
---

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://api.fsflt.net/panel/profiles/view",
  "name": "Get Customer's Profiles",
  "method": "GET",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "X-API-KEY",
        "type": "string",
        "description": "API Key for authorization"
      }
    ],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "customer_code",
        "type": "Number",
        "description": "Customer code"
      }
    ],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "nitQOTciaZZ9AbH6bfB6z",
        "code": "{\n    \"code\": 200,\n    \"content\": [\n        {\n            \"code\": 0,\n            \"name\": \"Default Profile\",\n            \"timezone\": \"America/Chicago\",\n            \"is_limited\": false,\n            \"dns\": {\n                \"ipv4\": {\n                    \"primary_dns\": \"185.236.104.124\",\n                    \"secondary_dns\": \"185.236.105.125\"\n                },\n                \"ipv6\": {\n                    \"primary_dns\": \"2a12:7bc0:104:124::\",\n                    \"secondary_dns\": \"2a12:7bc0:105:125::\"\n                }\n            },\n            \"safesearch\": {\n                \"searchengines\": false,\n                \"youtube\": true\n            },\n            \"blocked_categories\": [\n                \"zealand_threats\",\n                \"worm_comm\",\n                \"worm\",\n                \"trojan_comm\",\n                \"trojan\",\n                \"translator_proxy\",\n                \"stealer\",\n                \"spyware\",\n                \"scamadviser\",\n                \"rootkit\",\n                \"riskware\",\n                \"rat\",\n                \"proxy\",\n                \"phishing_community\",\n                \"phishing\",\n                \"mining\",\n                \"malware_comm\",\n                \"malicious_activity\",\n                \"hoax\",\n                \"exploit\",\n                \"dropper\",\n                \"downloader\",\n                \"dns_proxy\",\n                \"dga\",\n                \"cryptowall_comm\",\n                \"cryptowall\",\n                \"chongluadao\",\n                \"cc_skimming\",\n                \"c2\",\n                \"botnet_comm\",\n                \"botnet\",\n                \"banker\",\n                \"backdoor_comm\",\n                \"backdoor\",\n                \"android_malwares\",\n                \"adware\"\n            ],\n            \"blocked_countries\": [],\n            \"blacklist\": [\n                \"mema-fasteno.it\"\n            ],\n            \"allowlist\": []\n        },\n        {\n            \"code\": 1,\n            \"name\": \"Second Profile\",\n            \"timezone\": \"America/Chicago\",\n            \"is_limited\": true,\n            \"dns\": {\n                \"ipv4\": {\n                    \"primary_dns\": \"185.236.104.104\",\n                    \"secondary_dns\": \"185.236.105.105\"\n                },\n                \"ipv6\": {\n                    \"primary_dns\": \"2a12:7bc0:104:104::\",\n                    \"secondary_dns\": \"2a12:7bc0:105:105::\"\n                }\n            },\n            \"safesearch\": {\n                \"searchengines\": true,\n                \"youtube\": false\n            },\n            \"blocked_categories\": [],\n            \"blocked_countries\": [],\n            \"blacklist\": [\n                \"test.com\"\n            ],\n            \"allowlist\": [\n                \"test2.com\"\n            ]\n        }\n    ]\n}",
        "language": "200"
      },
      {
        "id": "Gso7CeSjZ5IREx7Ck4f-g",
        "language": "409",
        "code": "{\n  \"code\": 409,\n  \"content\": \"Please provide a valid customer\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "Gso7CeSjZ5IREx7Ck4f-g"
  },
  "examples": {
    "languages": [
      {
        "id": "ysU2TcxuYVKUMiUnuj1Xi",
        "language": "curl",
        "code": "curl --location --request GET 'https://api.fsflt.net/panel/profiles/view' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Number\"}'",
        "customLabel": ""
      },
      {
        "id": "YMDcdpVR6muN62rsgpVnR",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'GET',\n   'url': 'https://api.fsflt.net/panel/profiles/view',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Number\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "hJJI_jMJQDgRUquOIah_n",
        "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\": \"Number\"\n});\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/profiles/view\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "hfaJTDLbMM5JMf6dvrzU4",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/profiles/view\"\n\npayload = json.dumps({\n   \"customer_code\": \"Number\"\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": "Da9M9H_bMLaFi3T7kESjk",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/profiles/view\")\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\": \"Number\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "ysU2TcxuYVKUMiUnuj1Xi"
  },
  "description": "Get all the profiles associated to a customer. Returns profile code, name and protection infos",
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "get-customers-profiles",
  "legacyHash": "AVYJmuN2XyZrKMJWjyD8v"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Add a Profile",
  "method": "POST",
  "url": "https://api.fsflt.net/panel/profiles/add",
  "description": "Create a new protection profile",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "90znQ8YRJQRq7VUT6Qu62",
        "language": "curl",
        "code": "curl --location 'https://api.fsflt.net/panel/profiles/add' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Number\",\"name\":\"string\",\"dns_id\":\"Number\",\"timezone\":\"string\",\"is_limited\":\"Boolean\"}'",
        "customLabel": ""
      },
      {
        "id": "wJVfEqQjqz9D_U6JMArII",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.fsflt.net/panel/profiles/add',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Number\",\n      \"name\": \"string\",\n      \"dns_id\": \"Number\",\n      \"timezone\": \"string\",\n      \"is_limited\": \"Boolean\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "-uEVS1S6PDajGfhpaHzGu",
        "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\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/profiles/add\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "KIVMan_S3KkHHRkoSDvX9",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/profiles/add\"\n\npayload = json.dumps({\n   \"customer_code\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\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": "Bim6gw568GuEsPrHCdPgu",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/profiles/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\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "90znQ8YRJQRq7VUT6Qu62"
  },
  "results": {
    "languages": [
      {
        "id": "-PT0bgSvnWxQfZ8-2LTxB",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"code\": 200,\n  \"content\": \"Profile added successfully\"\n}"
      },
      {
        "id": "ja-7PbSWBw48S7fzV0tGK",
        "language": "409",
        "customLabel": "",
        "code": "{\n  \"code\": 409,\n  \"content\": \"Please provide a valid customer\"\n}"
      },
      {
        "id": "f7eNR7A5aR7dnJ2e77ft1",
        "language": "405",
        "code": "{\n  \"code\": 405,\n  \"content\": \"Please provide a valid timezone\"\n}",
        "customLabel": ""
      },
      {
        "id": "firR6lvk0ZhVA_Bao2DSx",
        "language": "412",
        "code": "{\n  \"code\": 412,\n  \"content\": \"Please provide a valid DNS ID\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "-PT0bgSvnWxQfZ8-2LTxB"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "customer_code",
        "kind": "required",
        "type": "Number",
        "description": "Customer code"
      },
      {
        "name": "name",
        "kind": "required",
        "type": "string",
        "description": "Name of the profile",
        "children": []
      },
      {
        "name": "dns_id",
        "kind": "required",
        "type": "Number",
        "description": "DNSs ID, retrieved by /profiles/dns Endpoint",
        "children": []
      },
      {
        "name": "timezone",
        "kind": "optional",
        "type": "string",
        "description": "Timezone, retrieved by /timezone/list Endpoint",
        "children": []
      },
      {
        "name": "is_limited",
        "kind": "optional",
        "type": "Boolean",
        "description": "1 => Limited profile, 0 => Normal profile",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "add-a-profile",
  "legacyHash": "HzGc8yWUJsyH4vrPlvg45"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Edit Profile",
  "method": "POST",
  "url": "https://api.fsflt.net/panel/profiles/edit",
  "description": "Edit an existing profile",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "90znQ8YRJQRq7VUT6Qu62",
        "language": "curl",
        "code": "curl --location 'https://api.fsflt.net/panel/profiles/add' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Number\",\"name\":\"string\",\"dns_id\":\"Number\",\"timezone\":\"string\",\"is_limited\":\"Boolean\"}'",
        "customLabel": ""
      },
      {
        "id": "wJVfEqQjqz9D_U6JMArII",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.fsflt.net/panel/profiles/add',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Number\",\n      \"name\": \"string\",\n      \"dns_id\": \"Number\",\n      \"timezone\": \"string\",\n      \"is_limited\": \"Boolean\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "-uEVS1S6PDajGfhpaHzGu",
        "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\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/profiles/add\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "KIVMan_S3KkHHRkoSDvX9",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/profiles/add\"\n\npayload = json.dumps({\n   \"customer_code\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\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": "Bim6gw568GuEsPrHCdPgu",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/profiles/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\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "90znQ8YRJQRq7VUT6Qu62"
  },
  "results": {
    "languages": [
      {
        "id": "-PT0bgSvnWxQfZ8-2LTxB",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"code\": 200,\n  \"content\": \"Profile edited successfully\"\n}"
      },
      {
        "id": "ja-7PbSWBw48S7fzV0tGK",
        "language": "409",
        "customLabel": "",
        "code": "{\n  \"code\": 409,\n  \"content\": \"Please provide a valid customer\"\n}"
      },
      {
        "id": "f7eNR7A5aR7dnJ2e77ft1",
        "language": "405",
        "code": "{\n  \"code\": 405,\n  \"content\": \"Please provide a valid timezone\"\n}",
        "customLabel": ""
      },
      {
        "id": "firR6lvk0ZhVA_Bao2DSx",
        "language": "412",
        "code": "{\n  \"code\": 412,\n  \"content\": \"Please provide a valid DNS ID\"\n}",
        "customLabel": ""
      },
      {
        "id": "7K67n8ju9aTHhKEk69N6s",
        "language": "406",
        "code": "{\n  \"code\": 406,\n  \"content\": \"Profile not found\"\n}",
        "customLabel": ""
      },
      {
        "id": "j3FxbGNiIlMM8YbRSUCvH",
        "language": "407",
        "code": "{\n  \"code\": 407,\n  \"content\": \"You cannot use this port for this profile because it's already used\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "j3FxbGNiIlMM8YbRSUCvH"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "customer_code",
        "kind": "required",
        "type": "Number",
        "description": "Customer code"
      },
      {
        "name": "profile_code",
        "kind": "required",
        "type": "Number",
        "description": "Profile code",
        "children": []
      },
      {
        "name": "name",
        "kind": "optional",
        "type": "string",
        "description": "Name of the profile",
        "children": []
      },
      {
        "name": "is_limited",
        "kind": "optional",
        "type": "Boolean",
        "description": "1 => Limited profile, 0 => Normal profile",
        "children": []
      },
      {
        "name": "dns_id",
        "kind": "optional",
        "type": "Number",
        "description": "DNSs ID, retrieved by /profiles/dns Endpoint",
        "children": []
      },
      {
        "name": "timezone",
        "kind": "optional",
        "type": "string",
        "description": "Timezone, retrieved by /timezone/list Endpoint",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "edit-profile",
  "legacyHash": "ziuwxgmBDUsSgJdrXvNn2"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Delete a Profile",
  "method": "POST",
  "url": "https://api.fsflt.net/panel/profiles/remove",
  "description": "Delete an existing profile",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "90znQ8YRJQRq7VUT6Qu62",
        "language": "curl",
        "code": "curl --location 'https://api.fsflt.net/panel/profiles/add' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Number\",\"name\":\"string\",\"dns_id\":\"Number\",\"timezone\":\"string\",\"is_limited\":\"Boolean\"}'",
        "customLabel": ""
      },
      {
        "id": "wJVfEqQjqz9D_U6JMArII",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.fsflt.net/panel/profiles/add',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Number\",\n      \"name\": \"string\",\n      \"dns_id\": \"Number\",\n      \"timezone\": \"string\",\n      \"is_limited\": \"Boolean\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "-uEVS1S6PDajGfhpaHzGu",
        "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\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/profiles/add\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "KIVMan_S3KkHHRkoSDvX9",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/profiles/add\"\n\npayload = json.dumps({\n   \"customer_code\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\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": "Bim6gw568GuEsPrHCdPgu",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/profiles/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\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "90znQ8YRJQRq7VUT6Qu62"
  },
  "results": {
    "languages": [
      {
        "id": "-PT0bgSvnWxQfZ8-2LTxB",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"code\": 200,\n    \"content\": \"Profile deleted successfully\"\n}"
      },
      {
        "id": "ja-7PbSWBw48S7fzV0tGK",
        "language": "409",
        "customLabel": "",
        "code": "{\n  \"code\": 409,\n  \"content\": \"Please provide a valid customer\"\n}"
      },
      {
        "id": "7K67n8ju9aTHhKEk69N6s",
        "language": "406",
        "code": "{\n  \"code\": 406,\n  \"content\": \"Profile not found\"\n}",
        "customLabel": ""
      },
      {
        "id": "firR6lvk0ZhVA_Bao2DSx",
        "language": "412",
        "code": "{\n  \"code\": 412,\n  \"content\": \"You cannot delete the Default profile\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "firR6lvk0ZhVA_Bao2DSx"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "customer_code",
        "kind": "required",
        "type": "Number",
        "description": "Customer code"
      },
      {
        "name": "profile_code",
        "kind": "required",
        "type": "Number",
        "description": "Profile code",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "delete-a-profile",
  "legacyHash": "tT2Zi5cjUuOWrCCzxCloP"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Profile DNSs",
  "method": "GET",
  "url": "https://api.fsflt.net/panel/profiles/dns",
  "description": "Get the list of assignable DNSs",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "90znQ8YRJQRq7VUT6Qu62",
        "language": "curl",
        "code": "curl --location 'https://api.fsflt.net/panel/profiles/add' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Number\",\"name\":\"string\",\"dns_id\":\"Number\",\"timezone\":\"string\",\"is_limited\":\"Boolean\"}'",
        "customLabel": ""
      },
      {
        "id": "wJVfEqQjqz9D_U6JMArII",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.fsflt.net/panel/profiles/add',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Number\",\n      \"name\": \"string\",\n      \"dns_id\": \"Number\",\n      \"timezone\": \"string\",\n      \"is_limited\": \"Boolean\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "-uEVS1S6PDajGfhpaHzGu",
        "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\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/profiles/add\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "KIVMan_S3KkHHRkoSDvX9",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/profiles/add\"\n\npayload = json.dumps({\n   \"customer_code\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\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": "Bim6gw568GuEsPrHCdPgu",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/profiles/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\": \"Number\",\n   \"name\": \"string\",\n   \"dns_id\": \"Number\",\n   \"timezone\": \"string\",\n   \"is_limited\": \"Boolean\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "90znQ8YRJQRq7VUT6Qu62"
  },
  "results": {
    "languages": [
      {
        "id": "-PT0bgSvnWxQfZ8-2LTxB",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"code\": 200,\n    \"content\": {\n        \"5402\": {\n            \"ipv4\": {\n                \"primary_dns\": \"185.236.104.134\",\n                \"secondary_dns\": \"185.236.105.135\"\n            },\n            \"ipv6\": {\n                \"primary_dns\": \"2a12:7bc0:104:134::\",\n                \"secondary_dns\": \"2a12:7bc0:105:135::\"\n            }\n        },\n        \"5403\": {\n            \"ipv4\": {\n                \"primary_dns\": \"185.236.104.144\",\n                \"secondary_dns\": \"185.236.105.145\"\n            },\n            \"ipv6\": {\n                \"primary_dns\": \"2a12:7bc0:104:144::\",\n                \"secondary_dns\": \"2a12:7bc0:105:145::\"\n            }\n        },\n        \"53\": {\n            \"ipv4\": {\n                \"primary_dns\": \"185.236.104.104\",\n                \"secondary_dns\": \"185.236.105.105\"\n            },\n            \"ipv6\": {\n                \"primary_dns\": \"2a12:7bc0:104:104::\",\n                \"secondary_dns\": \"2a12:7bc0:105:105::\"\n            }\n        },\n        \"110\": {\n            \"ipv4\": {\n                \"primary_dns\": \"185.236.104.114\",\n                \"secondary_dns\": \"185.236.105.115\"\n            },\n            \"ipv6\": {\n                \"primary_dns\": \"2a12:7bc0:104:114::\",\n                \"secondary_dns\": \"2a12:7bc0:105:115::\"\n            }\n        },\n        \"143\": {\n            \"ipv4\": {\n                \"primary_dns\": \"185.236.104.124\",\n                \"secondary_dns\": \"185.236.105.125\"\n            },\n            \"ipv6\": {\n                \"primary_dns\": \"2a12:7bc0:104:124::\",\n                \"secondary_dns\": \"2a12:7bc0:105:125::\"\n            }\n        }\n    }\n}"
      }
    ],
    "selectedLanguageId": "-PT0bgSvnWxQfZ8-2LTxB"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "profile-dnss",
  "legacyHash": "nBu0Hw6udU6te7GdOjepe"
}
```
:::

