> ## Documentation Index
> Fetch the complete documentation index at: https://www.octoparse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 翻訳を削除

> 1 ロケールの翻訳オーバーレイを削除。冪等。

**`DELETE`** `https://api-datahub.octoparse.com/v1/data-apps/{app_id}/translations/{locale}`

認証：APIキー必須（`Authorization: Bearer <API Key>`）。App 作者のみ。他者は `404`。

冪等: 存在しないロケール削除も `200` で `deleted: false`。即時反映。

## リクエスト

### パスパラメータ

<ParamField path="app_id" type="string" required>
  App reference.
</ParamField>

<ParamField path="locale" type="string" required>
  Locale code.
</ParamField>

### リクエスト例

```bash theme={null}
curl -X DELETE \
  -H "Authorization: Bearer $OCTOPARSE_API_KEY" \
  "https://api-datahub.octoparse.com/v1/data-apps/carol/reviews-query/translations/en"
```

## レスポンス

### 200 成功

```json theme={null}
{
  "data": {
    "deleted": false
  }
}
```

ペイロードは `data` に包まれます。フィールド:

<ResponseField name="deleted" type="boolean" required>
  翻訳が実際に削除されたか。
</ResponseField>

### エラー

| HTTP | `code`         | `category`  | Description    |
| ---- | -------------- | ----------- | -------------- |
| 401  | `unauthorized` | `forbidden` | API キー欠落または無効。 |

エラー応答は `{"error": {code, category, message, retryable}}` です。<a href="/docs/jp/datahub/api/reference/introduction#errors">エラー</a> を参照。

## クライアントライブラリ

Python / JavaScript SDK はまだこのエンドポイントをラップしていません。REST を直接呼び出してください。
