Viewing a single sub account
    • PDF

    Viewing a single sub account

    • PDF

    Article Summary

    View a single sub account.

    API

    • GET /sub-accounts/{subAccountId}

    Requests

    Path Variables

    ParameterRequiredTypeRestrictionsDescription
    subAccountIdYStringSub Account Id

    Responses

    {
        "nrn": "string"
        "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"
            }
        ]
    }
    
    ItemTypeDescriptionNote
    nrnstringNaming rule for an Ncloud resource
    activebooleanSub account status (true: enabled, false: disabled)
    canAPIGatewayAccessboolean- API Gateway Access
    - You can create an access key to use APIs registered in the API Gateway
    canConsoleAccessboolean- Console Access
    - Set a sub account to access the management console
    consolePermitIpsarrayList of IP ranges accessible to the console
    createTimestringCreation time 2019-08-10T13:21:00Z
    emailstringEmail
    groupsarrayList of groups to which the sub account belongs
    groups.groupIdstringGroup ID
    groups.groupNamestringGroup name
    groups.policiesarrayList of policies assigned to the group
    groups.subAccountsarrayList of sub accounts belonging to the group
    lastLoginTimestringLast access time 2019-08-10T13:21:00Z
    loginIdstringLogin ID
    memostringMemo (max: 100 bytes)
    modifiedTimestringLast edit time 2019-08-10T13:21:00Z
    namestringName
    needPasswordResetboolean- Indicates whether password requires reset
    - Guides the user to change the password upon login through the created sub account
    policiesarrayList of policies assigned to the sub account
    policies.policyIdstringPolicy ID
    policies.policyNamestringPolicy name
    policies.policyTypestringPolicy type (SYSTEM_MANAGED, USER_CREATED)
    subAccountNointegerSub account number
    subAccountIdstringSub account ID
    useConsolePermitIpbooleanWhether IP range restriction is used upon access to the console
    useApiAllowSourcebooleanAccess restrictions are available when using API
    apiAllowSourcesarrayList of accessible sources when API is used
    apiAllowSources[].typestringType of accessible source (IP, VPC, VPC_SERVER)
    apiAllowSources[].sourcestringAccessible source information (IP, InstanceNo)

    Errors

    Errors that may occur while using this action are listed below. For the error response format, see ErrorResponse.
    For more information about common errors, see NAVER Cloud Platform API.

    HTTP status codeError codeError message
    40130Nonexistent account

    Was this article helpful?

    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.