---
title: "Update dynamic segments"
method: PUT
path: "/channel/v1/segments/dynamicSegments/{dynamicSegmentId}"
tags: ["SegmentFolders"]
---

# Update dynamic segments

`PUT /channel/v1/segments/dynamicSegments/{dynamicSegmentId}`

## Request

- Base URL: `https://marketplace.appdirect.com/api`
- URL: `https://marketplace.appdirect.com/api/channel/v1/segments/dynamicSegments/{dynamicSegmentId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/appdirect/apis/companies/docs/channel/v1/segments/dynamicSegments/:dynamicSegmentId/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates a dynamic segment

## Path parameters

- `dynamicSegmentId` string, required

## Request body

- DynamicSegmentRequest: Data required to create a dynamic segment
  - `name` string, required: Segment name
  - `code` string: Segment code
  - `filters` Filters[], required: Dynamic filter
    - Filter[]: Filters
      - `operator` string, required: Filter operator
      - `conditions` FilterExpression[], required
        - `parameter` string, required: Filter parameter field
        - `operator` string, required: Filter operator
        - `values` string[], required: Values for the parameter field

## Response `204`

The segment was successfully updated.

## Other responses

- `400`: Bad request
- `409`: The segment already exists

## Changes

- **2026-11-06** `1fc240f06971`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/appdirect/apis/companies/changes/channel/v1/segments/dynamicSegments/:dynamicSegmentId/put.md)

---

[API](https://skmtc.dev/appdirect/apis/companies.md) - [All operations](https://skmtc.dev/appdirect/apis/companies/llms.txt) - [OpenAPI document](https://skmtc.dev/appdirect/apis/companies/revisions/1fc240f06971?raw)
