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

# Delete segments from segment folders

`DELETE /channel/v1/companyGroups/{companyGroupId}/segments/{companySegmentId}`

## Request

- Base URL: `https://marketplace.appdirect.com/api`
- URL: `https://marketplace.appdirect.com/api/channel/v1/companyGroups/{companyGroupId}/segments/{companySegmentId}`
- Auth: none declared

Deletes a segment from a segment folder

## Path parameters

- `companyGroupId` string, required
- `companySegmentId` string, required

## Response `204`

The segment 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/segments/:companySegmentId/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)
