---
title: "Delete TM Segment"
method: DELETE
path: "/tms/{tmId}/segments/{segmentId}"
tags: ["Translation Memory"]
---

# Delete TM Segment

`DELETE /tms/{tmId}/segments/{segmentId}`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/tms/{tmId}/segments/{segmentId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/docs/tms/:tmId/segments/:segmentId/delete.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `tm` (Read and Write).

Delete all segments of translation unit

## Path parameters

- `tmId` integer, required
- `segmentId` integer, required

## Response `204`

TM segment was successfully deleted

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: TM or segment with specified id was not found
- `405`: Method Not Allowed

---

[API](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/revisions/dc68744c5384?raw)
