Single view of user information
    • PDF

    Single view of user information

    • PDF

    Article summary

    View all users with account permission such as role user, deleted sub account, and sub account.

    API

    • GET /users/{subAccountId}

    Request

    Path Variables

    ParametersRequirement statusTypeRestrictionsDescription
    includeDeletedNbooleandefault: falseWhether to include deleted user

    Response

    {
      "subAccountId": "string",
      "loginId": "string",
      "name": "string",
      "email": "string",
      "groups": [
        {
          "groupId": "string",
          "groupName": "string"
        }
      ],
      "active": true,
      "deleted": true,
      "createTime": "string",
      "principalType": "string",
      "sourceIdentity": {
        "type": "string",
        "id": "string",
        "provider": "string"
      },
      "roleNrn": "string"
    }
    
    ItemTypeDescriptionRemarks
    principalTypestringUser typeIamUser: Sub account, IamRole: Role user
    subAccountIdstringUser ID
    loginIdstringLogin ID
    namestringName
    emailstringEmail
    groupsarrayList of group to which the sub account belongs
    groups.groupIdstringGroup ID
    groups.groupNamestringGroup name
    activebooleanSub account status (true: enabled, false: disabled)
    deletedbooleanDeleted user status
    createTimestringCreated date and time: 2019-08-10T13:21:00Z
    sourceIdentityobjectRole applied target informationYou can view only when the principalType is IamRole
    see Source Identity list
    sourceIdentity.typestringRole applied target type (Principal type)You can view only when the principalType is IamRole
    sourceIdentity.idstringRole applied target unique IDYou can view only when the principalType is IamRole
    sourceIdentity.providerstringDepartment classification of role applied targetYou can view only when the principalType is IamRole
    roleNrnstringNRN of the role to be switchedYou can view only when the principalType is IamRole

    Source Identity

    Role applied target information

    Role typeSource Identity typeSource Identity providerSource Identity id
    Account RoleIamUserMember numberSub account ID
    Server RoleServerN/AN/A
    SSO RoleFederatedUserSSO tenant IDSSO user ID
    Service RoleNcloudServiceService IDService resource ID

    Errors

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

    HTTP status codeError codeError message
    40130Nonexistent account

    Was this article helpful?

    What's Next
    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.