Create a traffic policy profile
Create a new traffic policy profile. At least one of services, ip_ranges, or domains must be provided.
Request body
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"
}
}Changes
Changed in 2 of the 61 revisions of this API.4
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status422response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for statusdefaultresponse-property-type-changed
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status422response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for statusdefaultresponse-property-type-changed
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲