v52

OpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
Traffic Policy Profiles

Create a traffic policy profile

Create a new traffic policy profile. At least one of services, ip_ranges, or domains must be provided.

post/traffic_policy_profiles

Request body

domainsstring[]

Array of domain names.

ip_rangesstring[]

Array of IP ranges in CIDR notation.

limit_bw_kbps512 | 1024

Bandwidth limit in kbps. Must be 512 or 1024.

servicesstring[]

Array of PCEF service IDs to include in the profile.

type'whitelist' | 'blacklist' required

The type of the traffic policy profile.

Example request

{
  "domains": [
    "www.hbomax.com",
    "netflix.com"
  ],
  "ip_ranges": [
    "10.64.0.0/24",
    "10.64.0.0/25"
  ],
  "limit_bw_kbps": 512,
  "services": [
    "service_123",
    "service_456"
  ],
  "type": "whitelist"
}

Response

Successful Response

Example response

{
  "data": {
    "created_at": "2018-02-02T22:25:27.521Z",
    "domains": [
      "www.hbomax.com",
      "netflix.com"
    ],
    "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
    "ip_ranges": [
      "10.64.0.0/24",
      "10.64.0.0/25"
    ],
    "limit_bw_kbps": 512,
    "record_type": "traffic_policy_profile",
    "services": [
      "service_123",
      "service_456"
    ],
    "type": "whitelist",
    "updated_at": "2018-02-02T22:25:27.521Z"
  }
}