> ## 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.

# Release を yank

> バージョンを yank: 新規実行拒否、latest 解決から除外。可逆。

**`POST`** `https://api-datahub.octoparse.com/v1/data-apps/{app_id}/releases/{version}/yank`

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

版レベル yank: 当該版は新規実行を拒否（`422 version-yanked`）、latest 解決でスキップ。進行中実行は影響なし。当該版に固定した詳細と契約は読める。冪等。

## リクエスト

### パスパラメータ

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

<ParamField path="version" type="string" required>
  バージョン番号。
</ParamField>

### リクエスト例

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

## レスポンス

### 200 成功

```json theme={null}
{
  "data": {
    "version": "string",
    "yanked": false
  }
}
```

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

<ResponseField name="version" type="string" required>
  バージョン番号。
</ResponseField>

<ResponseField name="yanked" type="boolean" required>
  現在の yank 状態。
</ResponseField>

### エラー

| HTTP | `code`              | `category`  | Description    |
| ---- | ------------------- | ----------- | -------------- |
| 401  | `unauthorized`      | `forbidden` | API キー欠落または無効。 |
| 404  | `version-not-found` | `not_found` | そのバージョンが存在しない。 |

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

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

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