서브계정 단건 조회
    • PDF

    서브계정 단건 조회

    • PDF

    Article Summary

    서브 계정 단건을 조회합니다.

    API

    • GET /sub-accounts/{subAccountId}

    요청

    Path Variables

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

    응답

    {
        "active": "boolean",
        "canAPIGatewayAccess": "boolean",
        "canConsoleAccess": "boolean",
        "consolePermitIps": [
            "string"
        ],
        "createTime": "string",
        "email": "string",
        "groups": [
            {
                "groupId": "string",
                "groupName": "string",
                "policies": [
                    {}
                ],
                "subAccounts": [
                    {}
                ]
            }
        ],
        "lastLoginTime": "string",
        "loginId": "string",
        "memo": "string",
        "modifiedTime": "string",
        "name": "string",
        "needPasswordReset": "boolean",
        "policies": [
            {
                "policyId": "string",
                "policyName": "string",
                "policyType": "string"
            }
        ],
        "subAccountNo": "integer",
        "subAccountId": "string",
        "useConsolePermitIp": "boolean",
        "useApiAllowSource": "boolean",
        "apiAllowSources": [
            {
                "type": "string",
                "source": "string"
            }
        ]
        "nrn": "string",
    }
    
    항목타입설명비고
    activebooleanSub Account 상태 (true: 활성, false: 비활성)
    canAPIGatewayAccessboolean- API Gateway Access
    - Access Key를 생성하여 해당 키로 API Gateway에 등록된 API 사용 가능
    canConsoleAccessboolean- Console Access
    - 서브 계정이 관리 콘솔에 접근할 수 있도록 설정
    consolePermitIpsarray콘솔 접근 가능한 IP 대역 목록
    createTimestring생성 일시 2019-08-10T13:21:00Z
    emailstring이메일
    groupsarray서브 계정이 속한 그룹 목록
    groups.groupIdstring그룹 아이디
    groups.groupNamestring그룹 이름
    groups.policiesarray그룹에 할당된 정책 리스트
    groups.subAccountsarray그룹에 속한 서브계정 리스트
    lastLoginTimestring최종 접속 일시 2019-08-10T13:21:00Z
    loginIdstring로그인 아이디
    memostring메모 (max: 100 bytes)
    modifiedTimestring최종 수정 일시 2019-08-10T13:21:00Z
    namestring이름
    needPasswordResetboolean- 비밀번호 재설정 필요 여부
    - 생성된 생성된 서브계정으로 로그인 시 새로운 비밀번호로 변경하도록 안내
    policiesarray서브 계정이 부여받은 정책 목록
    policies.policyIdstring정책 아이디
    policies.policyNamestring정책 이름
    policies.policyTypestring정책 유형 (SYSTEM_MANAGED, USER_CREATED)
    subAccountNointeger서브 계정 No
    subAccountIdstring서브 계정 아이디
    useConsolePermitIpboolean콘솔 접근 시 IP 대역 제한을 사용하는지 여부
    useApiAllowSourcebooleanAPI 이용 시 접근 제한을 사용 가능
    apiAllowSourcesarrayAPI 이용 시 접근 가능한 목록
    apiAllowSources[].typestring접근 가능 소스의 타입 (IP, VPC)
    apiAllowSources[].sourcestring접근 가능 소스 정보 (IP, InstanceNo)
    nrnstringsubAccount nrn

    에러

    아래 에러 코드는 이 액션(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.