--- title: "updateConfig" slug: "pub-clouddb-serverless-v1-config-updateconfig" updated: 2026-10-13T10:08:53Z published: 2026-10-13T10:08:53Z canonical: "api.ncloud-docs.com/pub-clouddb-serverless-v1-config-updateconfig" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # updateConfig VPC 환경에서 이용 가능합니다. Ncloud 표준 표현을 적용한 API입니다. 클러스터의 DB 파라미터를 비동기로 변경합니다. 요청에 포함된 파라미터만 변경됩니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | PATCH | /mysql/v1/clusters/{clusterName}/config | ### 요청 헤더 Cloud DB Serverless API에서 공통으로 사용하는 헤더에 대한 정보는 [Cloud DB Serverless 요청 헤더](/docs/pub-clouddb-serverless-v1-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 경로 파라미터 요청 경로 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `clusterName` | String | Required | 클러스터 이름 - [listClusters](/docs/pub-clouddb-serverless-v1-cluster-listclusters) 참조 | ### 요청 쿼리 파라미터 요청 쿼리 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `applyWithoutRestart` | Boolean | Optional | 파라미터 적용 방식 - `true` \| `false` (기본값) - `true`: DB 재시작 없이 동적 적용 (`dynamic`이 `true`인 파라미터만 가능) - `false`: 적용 시 DB 재시작 수반 | ### 요청 바디 요청 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `parameters` | Object | Required | 변경할 파라미터 - 키: 파라미터 이름, 값: 설정값 (문자열) - [listConfigParameters](/docs/pub-clouddb-serverless-v1-config-listconfigparameters) 참조 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request PATCH 'https://clouddb-serverless.apigw.ntruss.com/mysql/v1/clusters/test-cluster-01/config?applyWithoutRestart=true' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'Content-Type: application/merge-patch+json' \ --data '{ "parameters": { "max_connections": "500", "wait_timeout": "3600" } }' ``` ## 응답 응답 형식을 설명합니다. ### 응답 헤더 응답 헤더에 대한 설명은 다음과 같습니다. | 필드 | 필수 여부 | 설명 | | --- | --- | --- | | `retry-after` | - | 권장 폴링 간격 (초) - `done`이 `false`인 동안 이 간격으로 진행 상태 조회 - 202 응답에 포함 | | `accept-patch` | - | 서버가 지원하는 PATCH 요청 미디어 타입 - 415 응답에 포함 | ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `id` | String | - | Operation 식별자 - UUID 형식 - 진행 상태 조회: [getConfigOperation](/docs/pub-clouddb-serverless-v1-operation-getconfigoperation) 참조 | | `done` | Boolean | - | 완료 여부 - `true` \| `false` - `true`: 완료 - `false`: 진행 중 | | `metadata` | Object | - | Operation 부가 정보 | | `metadata.operationType` | String | - | 작업 유형 - `CREATE` \| `UPDATE` \| `DELETE` - `CREATE`: 생성 - `UPDATE`: 변경 - `DELETE`: 삭제 | | `metadata.resourceType` | String | - | 대상 리소스 - REST 경로의 리소스 세그먼트와 일치 - <예시> config | | `metadata.startDateTime` | String | - | 작업 시작 일시 - ISO 8601 형식 (UTC) | | `metadata.endDateTime` | String | - | 작업 완료 일시 - ISO 8601 형식 (UTC) - 진행 중이면 `null` 반환 | | `metadata.progress` | Integer | - | 진행률 (%) - `0`~`100` - 제공 가능한 작업에 한해 반환 - 완료 후 미반환 | | `results` | Object | - | 성공 결과 - 요청 인덱스를 키로 하는 객체. 단건 작업은 `0` 키 하나를 사용 - 클러스터 작업에서만 값을 반환하며, 그 외 작업은 `null` 반환 | | `error` | Object | - | 실패 사유 - [Error](/docs/pub-clouddb-serverless-v1-overview#Error)와 동일한 형식 - 작업이 실패한 경우에 반환 | ### 응답 상태 코드 응답 상태 코드에 대한 설명은 다음과 같습니다. | HTTP 상태 코드 | 코드 | 메시지 | 설명 | | --- | --- | --- | --- | | 400 | `InvalidParameter` | `The specified parameter is invalid.` | 파라미터 값이 허용 범위나 형식을 벗어난 경우 | | 400 | `InvalidState` | `Indicates that the specified state is not a valid state for an event source.` | 클러스터가 파라미터를 변경할 수 있는 상태가 아닌 경우 | | 409 | `Conflict` | `The request could not be processed because of a conflict in the current status of the resource.` | 다른 파라미터 변경 작업이 진행 중인 경우 | | 409 | `ResourceInUse` | `The specified resource is in use.` | 클러스터에 다른 작업이 진행 중인 경우 | 참고 Cloud DB Serverless API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Cloud DB Serverless 응답 상태 코드](/docs/pub-clouddb-serverless-v1-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "id": "f94009c9-3128-464c-ba93-a8aa32e454a5", "done": false, "metadata": { "operationType": "UPDATE", "resourceType": "config", "startDateTime": "2026-10-13T12:45:00.812089904Z", "endDateTime": null }, "results": null } ```