---
title: "Update manual segments"
method: PUT
path: "/channel/v1/segments/{companySegmentId}"
tags: ["SegmentFolders"]
---

# Update manual segments

`PUT /channel/v1/segments/{companySegmentId}`

## Request

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

Updates a manual segment

## Path parameters

- `companySegmentId` string, required

## Request body

- SegmentRequest: Data required to create a segment
  - `name` string, required: Segment name
  - `code` string: Segment code

## 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/:companySegmentId/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)
