Skip to main content
GET
/
security
/
v2
/
profiles
Get profiles
curl --request GET \
  --url https://api.gcore.com/security/v2/profiles \
  --header 'Authorization: <api-key>'
[
  {
    "id": 123,
    "profile_template": {
      "id": 123,
      "name": "<string>",
      "description": "<string>",
      "fields": [
        {
          "id": 123,
          "name": "<string>",
          "description": "<string>",
          "field_type": "int",
          "required": true,
          "default": "<string>",
          "validation_schema": "<any>"
        }
      ],
      "base_template": 123,
      "version": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created": "2023-11-07T05:31:56Z",
      "allow_merge": true
    },
    "ip_address": "<string>",
    "fields": [
      {
        "id": 123,
        "name": "<string>",
        "description": "<string>",
        "field_type": "<string>",
        "required": true,
        "default": "<string>",
        "value": "<string>",
        "field_value": "<any>",
        "base_field": 123,
        "validation_schema": "<any>"
      }
    ],
    "site": "<string>",
    "options": {
      "bgp": true,
      "active": true,
      "price": "<string>"
    },
    "protocols": [
      {}
    ],
    "provider": "sifter",
    "status": {},
    "plan": "<string>",
    "management_type": "static"
  }
]

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

exclude_empty_address
boolean
include_deleted
boolean
ip_address
string
site
string

Response

200 - application/json
id
integer
required
profile_template
object
required
ip_address
string
required
fields
object[]
required
site
string
required

Region where the protection profiles will be deployed

options
object
required
protocols
object[]
required
status
object
required
plan
string
required
provider
enum<string>

* sifter - Sifter

Available options:
sifter
management_type
enum<string>

* static - static * dynamic - dynamic

Available options:
static,
dynamic