Documentation Index

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

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

deleteCloudMysqlUserList

Prev Next

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

개요

Cloud DB for MySQL 인스턴스의 DB User를 삭제합니다.

요청

요청 파라미터

파라미터명 필수 여부 타입 제약 사항 설명
regionCode No String - 리전 코드
regionCode는 getRegionList 액션을 통해서 획득 가능
Default : getRegionList 조회 결과의 첫 번째 리전을 선택
cloudMysqlInstanceNo Yes String - Cloud DB for MySQL 인스턴스 번호
cloudMysqlInstanceNo는 getCloudMysqlInstanceList 액션을 통해서 획득 가능
cloudMysqlUserList.N.name Yes List<String> 영문자, 숫자, 언더바(_), 하이픈(-) 문자만 허용하며 반드시 영어로 시작해야 함
Min: 3
Max: 16
- MySQL 유저 ID
cloudMysqlUserList.N.hostIp Yes List<String> - MySQL 유저 host
예제)
전체 접속 허용 : %
특정 IP 접속 허용 : 1.1.1.1
IP 대역 접속 허용 : 1.1.1.%
output No String - 응답 결과의 포맷 타입
Options : xml | json
Default : json

예시

요청 예시

ncloud vmysql deleteCloudMysqlUserList --regionCode KR --cloudMysqlInstanceNo ****890 --cloudMysqlUserList "name='testuser', hostIp='%'"

응답 예시

<deleteCloudMysqlUserListResponse>
    <requestId>2afd05f7-8817-4234-8a77-c9a5906133d8</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
</deleteCloudMysqlUserListResponse>