---
title: "Cancel file translation"
method: POST
path: "/file-translations-api/v2/accounts/{accountUid}/files/{fileUid}/mt/{mtUid}/cancel"
tags: ["File Machine Translations (MT)"]
---

# Cancel file translation

`POST /file-translations-api/v2/accounts/{accountUid}/files/{fileUid}/mt/{mtUid}/cancel`

## Request

- Base URL: `https://api.smartling.com`
- URL: `https://api.smartling.com/file-translations-api/v2/accounts/{accountUid}/files/{fileUid}/mt/{mtUid}/cancel`
- Auth: HTTP bearer

Cancel an ongoing file translation at any point during the translation process.
If file translation is complete or has already been cancelled, calling this endpoint will have no effect.

## Path parameters

- `accountUid` string, required
- `fileUid` string, required
- `mtUid` string, required

## Response `200`

OK

- FileTranslationEmptyResponse
  - `response` object, required
    - `code` 'SUCCESS', required: Indicates whether the response was successful or what error has occurred.
    - `data` object: Always empty.

## Other responses

- `400`: Provided request parameters are invalid.
- `401`: Provided credentials are not valid.
- `429`: Too many simultaneous API requests.
- `500`: Unexpected error

## Changes

- **2026-10-17** `2cd7a8215799`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/changes/file-translations-api/v2/accounts/:accountUid/files/:fileUid/mt/:mtUid/cancel/post.md)

---

[API](https://skmtc.dev/smartling/apis/smartling-rest-api-reference.md) - [All operations](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/revisions/e63066e7f5e9?raw)
