서브계정 수정
    • PDF

    서브계정 수정

    • PDF

    Article Summary

    서브 계정 정보를 수정합니다.

    API

    • PUT /sub-accounts/{subAccountId}

    요청

    Path Variables

    파라미터필수여부타입제약사항설명
    subAccountIdYStringSub Account Id

    Body

    {
    	"active": "boolean",
    	"canAPIGatewayAccess": "boolean",
    	"canConsoleAccess": "boolean",
    	"consolePermitIps": [
    		"string"
    	],
    	"email": "string",
    	"memo": "string",
    	"name": "string",
    	"useConsolePermitIp": "boolean",
            "useApiAllowSource": "boolean",
            "apiAllowSources": [
            {
                "type": "string",
                "source": "string"
            }
        ]
    }
    
    파라미터필수여부타입제약사항설명
    activeNboolean서브 계정 상태 (true: 활성, false: 비활성)
    canAPIGatewayAccessNboolean- API Gateway Access
    - Access Key를 생성하여 해당 키로 API Gateway에 등록된 API 사용 가능
    canConsoleAccessNbooleanConsole Access
    서브 계정이 관리 콘솔에 접근할 수 있도록 설정
    consolePermitIpsNarray콘솔 접근 가능한 IP 대역 목록
    emailNstring이메일
    memoNstring메모 (max: 100 bytes)
    nameYstring이름
    useConsolePermitIpNboolean콘솔 접근 시 IP 대역 제한을 사용 가능
    useApiAllowSourceNbooleanAPI 이용 시 접근 제한을 사용 가능
    apiAllowSourcesNarrayAPI 접근 가능한 목록
    apiAllowSources[].typeNstring접근 가능 소스의 타입 (IP, VPC)
    apiAllowSources[].sourceNstring접근 가능 소스 정보 (IP, InstanceNo)

    응답

    • 응답
    파라미터 명필수여부타입설명
    ProcessResultYProcessResult처리 결과
    • 응답 예시 - 성공
    {
        "success": true,
        "id": "subAccountId"
    }
    

    에러

    아래 에러 코드는 이 액션(Action)에서 특징적으로 발생하는 에러입니다. 에러 응답 형식은 ErrorResponse를 참조해 주십시오.
    공통적으로 발생하는 에러에 대한 상세한 설명은 NAVER Cloud Platform API를 참고해 주십시오.

    HTTP status code에러 코드에러 메시지
    40130존재하지 않는 계정

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.