---
title: "Update segment folders"
method: PUT
path: "/channel/v1/companyGroups/{companyGroupId}"
tags: ["SegmentFolders"]
---

# Update segment folders

`PUT /channel/v1/companyGroups/{companyGroupId}`

## Request

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

Updates a segment folder

## Path parameters

- `companyGroupId` string, required

## Request body

- SegmentFolderRequest: Segment folder creation request
  - `name` string, required: Segment folder name

## Response `204`

The segment folder was successfully updated

## Other responses

- `400`: Bad request
- `409`: The segment folder name already exists for the partner

## Changes

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

[Operation history](https://skmtc.dev/appdirect/apis/companies/changes/channel/v1/companyGroups/:companyGroupId/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)
