POST
/
api
/
v1
/
gateways
{
  "client_tls": {},
  "created_at": "<string>",
  "id": "<string>",
  "name": "<string>",
  "required_plugins": [
    {
      "enabled": true,
      "id": "<string>",
      "level": "gateway",
      "name": "<string>",
      "parallel": true,
      "priority": 123,
      "settings": {},
      "stage": "pre_request"
    }
  ],
  "security_config": {
    "allowed_hosts": [
      "<string>"
    ],
    "allowed_hosts_are_regex": true,
    "browser_xss_filter": true,
    "content_security_policy": "<string>",
    "content_type_nosniff": true,
    "custom_frame_options_value": "<string>",
    "frame_deny": true,
    "is_development": true,
    "referrer_policy": "<string>",
    "ssl_host": "<string>",
    "ssl_proxy_headers": {},
    "ssl_redirect": true,
    "sts_include_subdomains": true,
    "sts_seconds": 123
  },
  "status": "<string>",
  "subdomain": "<string>",
  "telemetry": {
    "enable_plugin_traces": true,
    "enable_request_traces": true,
    "exporters": [
      {
        "name": "<string>",
        "settings": {}
      }
    ],
    "extra_params": {},
    "header_mapping": {}
  },
  "updated_at": "<string>"
}

Headers

Authorization
string
required

Authorization token

Body

application/json

Gateway data

The body is of type object.

Response

201
application/json

Gateway created successfully

The response is of type object.