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

# 비권장 해제

> 비권장 마크를 지워 상태를 이전 궤도로 복원.

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

인증: API 키 필요(`Authorization: Bearer <API Key>`). App 작성자만. 그 외 `404`.

비권장 해제(멱등): 마크 제거. 파생 상태는 이전 궤도 — Release 있으면 published(가시 범위로 마켓 복귀), 없으면 draft.

버전 yank/unyank와 동형: 비권장은 식별자 마크이지 물리 상태가 아님. 복원은 가시성·유지보수 스위치를 건드리지 않음. 작성자가 이전에 둔 운영 토글은 유지.

## 요청

### 경로 파라미터

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

### 요청 예시

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

## 응답

### 200 성공

```json theme={null}
{
  "data": {
    "app_name": "string",
    "namespace": "string",
    "version": "",
    "status": "string",
    "missing_secrets": [
      "string"
    ]
  }
}
```

페이로드는 `data`로 감쌉니다. 필드:

<ResponseField name="app_name" type="string" required>
  —
</ResponseField>

<ResponseField name="namespace" type="string">
  —
</ResponseField>

<ResponseField name="version" type="string">
  —
</ResponseField>

<ResponseField name="status" type="string" required>
  복원 후 파생 상태.
</ResponseField>

<ResponseField name="missing_secrets" type="string[]">
  —
</ResponseField>

### 오류

| HTTP | `code`         | `category`  | 설명              |
| ---- | -------------- | ----------- | --------------- |
| 401  | `unauthorized` | `forbidden` | API 키 누락 또는 무효. |

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

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

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