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

# App 이름 변경

> 버전 없이 진행 중 실행에 영향 없이 App 이름(라우팅 별칭) 변경.

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

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

이름 변경은 완전히 열림 — Release 0개에 한정되지 않음. App 이름은 라우팅 별칭: 이름 변경은 버전을 게시하지 않고 실행·데이터셋을 깨지 않음. 안정 `app_id` 불변.

깨진 호출 참조는 개발자 책임: 이름 변경 후 옛 `owner/old-name` 참조(MCP 고정, SDK, REST, 상세 URL)는 리다이렉트 없이 깨끗한 `404`. 이력 실행·데이터셋은 `app_id`로 추적.

검증은 식별자 생성과 같음: 명명 규칙 → 예약어 → 새 이름 ≠ 현재 이름. 타인 이름 충돌은 `409`.

## 요청

### 경로 파라미터

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

### 요청 body

<ParamField body="new_app_name" type="string" required>
  —
</ParamField>

### 요청 예시

```bash theme={null}
curl -X POST \
  -H "Authorization: Bearer $OCTOPARSE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"app_name": "review-lookup"}' \
  "https://api-datahub.octoparse.com/v1/data-apps/carol/reviews-query/rename"
```

## 응답

### 200 성공

```json theme={null}
{
  "data": {
    "app_id": "app_6dfe4e839ccf",
    "namespace": "carol",
    "app_name": "review-lookup",
    "previous_app_name": "reviews-query"
  }
}
```

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

<ResponseField name="app_id" type="string" required>
  안정 App id — 불변.
</ResponseField>

<ResponseField name="app_name" type="string" required>
  새 이름.
</ResponseField>

<ResponseField name="namespace" type="string">
  게시자 사용자 이름.
</ResponseField>

### 오류

| HTTP | `code`              | `category`      | 설명                                     |
| ---- | ------------------- | --------------- | -------------------------------------- |
| 401  | `unauthorized`      | `forbidden`     | API 키 누락 또는 무효.                        |
| 400  | `invalid-app-name`  | `invalid_input` | 이름이 명명 규칙을 충족하지 않거나 예약어입니다.            |
| 409  | `app-name-reserved` | `forbidden`     | 타인 이력 바인딩이 이름을 보유(사용자 이름 이전 후 30일 동결). |
| 409  | `app-name-taken`    | `invalid_input` | 이 이름의 App을 이미 보유.                      |

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

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

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