---
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}`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/traffic/policy/profiles/{id}`
- Auth: HTTP bearer

Updates the specified traffic policy profile and returns the updated 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

## Changes

- **2026-10-15** `a72569d69430`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/team-telnyx/apis/telnyx-api/changes/traffic/policy/profiles/:id/patch.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api/revisions/0f17b8167873?raw)
