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

# Clear TM

`DELETE /tms/{tmId}/segments`

## Request

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

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

## Path parameters

- `tmId` integer, required

## Response `204`

TM was successfully cleared

## Other responses

- `400`: Invalid Request Parameters
- `404`: TM with specified id was not found
- `405`: Method Not Allowed

---

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