---
title: "Delete segment folder"
method: DELETE
path: "/channel/v1/companyGroups/{companyGroupId}"
tags: ["SegmentFolders"]
---

# Delete segment folder

`DELETE /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/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a segment folder, all associated segments, and all product associations

## Path parameters

- `companyGroupId` string, required

## Response `204`

The segment folder was successfully deleted

## Other responses

- `400`: Bad request

## Changes

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

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