> ## 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 참조.
</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`  | 설명              |
| ---- | ------------------- | ----------- | --------------- |
| 401  | `unauthorized`      | `forbidden` | API 키 누락 또는 무효. |
| 404  | `version-not-found` | `not_found` | 해당 버전이 없음.      |

오류 응답은 `{"error": {code, category, message, retryable}}`입니다. <a href="/docs/ko/datahub/api/reference/introduction#errors">오류</a> 참고.

## 클라이언트 라이브러리

Python / JavaScript SDK는 아직 이 엔드포인트를 감싸지 않습니다. REST를 직접 호출하세요.
