Documentation Index

Fetch the complete documentation index at: https://api-gov.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

계정 비밀번호 초기화

Prev Next

VPC 환경에서 이용 가능합니다.

매니저 도구 접속 계정의 비밀번호를 초기화합니다.

참고

아래 API는 이용이 종료되었으니 신규 API로 전환해 주시기 바랍니다.

  • /api/v1/cluster/resetCMAKPassword/{serviceGroupInstanceNo} (수도권)
  • /api/krs-v1/cluster/resetCMAKPassword/{serviceGroupInstanceNo} (남부권)

요청

요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.

메서드 URI
POST /api/v1/cluster/resetMGMTPassword/{serviceGroupInstanceNo} (수도권)
POST /api/krs-v1/cluster/resetMGMTPassword/{serviceGroupInstanceNo} (남부권)

요청 헤더

Cloud Data Streaming Service API에서 공통으로 사용하는 헤더에 대한 정보는 Cloud Data Streaming Service 요청 헤더를 참조해 주십시오.

요청 경로 파라미터

요청 경로 파라미터에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
serviceGroupInstanceNo Integer Required 클러스터 인스턴스 번호

요청 바디

요청 바디에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
kafkaManagerUserPassword String Required 신규 비밀번호
  • 영문자, 숫자, 특수 문자를 조합하여 8~20자 이내로 입력
  • 사용 불가 특수 문자: ', ", `, ₩, /, &, 공백

요청 예시

요청 예시는 다음과 같습니다.

curl --location --request POST 'https://clouddatastreamingservice.apigw.gov-ntruss.com/api/v1/cluster/resetMGMTPassword/1009*****' \
--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/json' \
--data '{
    "kafkaManagerUserPassword": "asd123!@#"
}'

응답

응답 형식을 설명합니다.

응답 바디

응답 바디에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
code Integer - 응답 코드
message String - 응답 메시지
result Boolean - 응답 결과
  • true | null
    • true: 성공
    • null: 실패
requestId String - 요청에 대한 아이디
  • UUID 형식

응답 상태 코드

Cloud Data Streaming Service API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Cloud Data Streaming Service 응답 상태 코드를 참조해 주십시오.

응답 예시

응답 예시는 다음과 같습니다.

{
    "code": 0,
    "message": "SUCCESS",
    "result": true,
    "requestId": "36c9ae11-****-****-****-f5886964fed6"
}