Documentation Index

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

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

deleteCloudPostgresqlUserList

Prev Next

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

구문

deleteCloudPostgresqlUserList 구문은 다음과 같습니다.

./ncloud vpostgresql deleteCloudPostgresqlUserList \
    --cloudPostgresqlInstanceNo <instance-no> \
    --cloudPostgresqlUserList <user-config> \
    [--regionCode <FKR>] \
    [--output <json|xml>]

옵션

deleteCloudPostgresqlUserList 실행 시 지정할 수 있는 옵션을 설명합니다.

필수 옵션

deleteCloudPostgresqlUserList의 필수 옵션입니다.

옵션 타입 필수 여부 설명
--cloudPostgresqlInstanceNo String Required Cloud DB for PostgreSQL 인스턴스 번호
--cloudPostgresqlUserList List Required 삭제할 DB User 목록
  • 각 사용자는 따옴표 안에 {필드='값'} 쌍으로 입력
  • DB User는 한 번에 최대 10개까지 삭제 가능

공통 옵션

vpostgresql 명령에서 공통으로 사용하는 옵션에 대한 정보는 Cloud DB for PostgreSQL 옵션을 참조해 주십시오.

예시

DB User 삭제 요청이 성공하면 입력한 사용자가 Cloud DB for PostgreSQL 인스턴스에서 삭제됩니다.

명령

명령 예시는 다음과 같습니다.

./ncloud vpostgresql deleteCloudPostgresqlUserList \
    --cloudPostgresqlInstanceNo 34567890 \
    --cloudPostgresqlUserList "name='testreader'" \
    --regionCode FKR \
    --output json

출력

출력 예시는 다음과 같습니다.

{
  "deleteCloudPostgresqlUserListResponse": {
    "requestId": "d4e5f6a7-b8c9-0123-defa-456789012345",
    "returnCode": "0",
    "returnMessage": "success"
  }
}