---
title: "Update a traffic policy profile"
method: PATCH
path: "/traffic_policy_profiles/{id}"
tags: ["Traffic Policy Profiles"]
---

# Update a traffic policy profile

`PATCH /traffic_policy_profiles/{id}`

Updates a traffic policy profile.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `type` 'whitelist' | 'blacklist' | 'throttling' — The type of the traffic policy profile.
  - `services` string[] — Array of PCEF service IDs to include in the profile.
  - `ip_ranges` string[] — Array of IP ranges in CIDR notation.
  - `domains` string[] — Array of domain names.
  - `limit_bw_kbps` 512 | 1024 | null, nullable — Bandwidth limit in kbps. Must be 512 or 1024, or null to remove.

## Response `200`

Successful Response

- object
  - `data` TrafficPolicyProfile
    - `id` string, uuid — Identifies the resource.
    - `record_type` string
    - `type` 'whitelist' | 'blacklist' | 'throttling' — The type of the traffic policy profile.
    - `services` string[] — Array of PCEF service IDs included in the profile.
    - `ip_ranges` string[] — Array of IP ranges in CIDR notation.
    - `domains` string[] — Array of domain names.
    - `limit_bw_kbps` integer, nullable — Bandwidth limit in kbps.
    - `created_at` string — ISO 8601 formatted date-time indicating when the resource was created.
    - `updated_at` string — ISO 8601 formatted date-time indicating when the resource was updated.

## Other responses

- `404` — Resource not found
- `422` — Unprocessable entity. Check the 'detail' field in response for details.
- `default` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
