Interface Group

    • Method Detail

      • getEmbedded

        java.util.Map<java.lang.String,​java.lang.Object> getEmbedded()
      • getLinks

        java.util.Map<java.lang.String,​java.lang.Object> getLinks()
      • getCreated

        java.util.Date getCreated()
      • getId

        java.lang.String getId()
      • getLastMembershipUpdated

        java.util.Date getLastMembershipUpdated()
      • getLastUpdated

        java.util.Date getLastUpdated()
      • getObjectClass

        java.util.List<java.lang.String> getObjectClass()
      • assignRole

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="POST - /api/v1/groups/{groupId}/roles")
        Role assignRole​(AssignRoleRequest assignRoleRequest,
                        java.lang.Boolean disableNotifications)
        Assigns a Role to a Group
        Parameters:
        assignRoleRequest - (required)
        disableNotifications - (optional)
        Returns:
        Role
      • assignRole

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="POST - /api/v1/groups/{groupId}/roles")
        Role assignRole​(AssignRoleRequest assignRoleRequest)
        Assigns a Role to a Group
        Parameters:
        assignRoleRequest - (required)
        Returns:
        Role
      • listUsers

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="GET - /api/v1/groups/{groupId}/users")
        UserList listUsers()
        List Group Members Enumerates all users that are a member of a group.
        Returns:
        UserList
      • update

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="PUT - /api/v1/groups/{groupId}")
        Group update()
        Update Group Updates the profile for a group with `OKTA_GROUP` type from your organization.
        Returns:
        Group
      • removeUser

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="DELETE - /api/v1/groups/{groupId}/users/{userId}")
        void removeUser​(java.lang.String userId)
        Remove User from Group Removes a user from a group with 'OKTA_GROUP' type.
        Parameters:
        userId - (required)
      • listApplications

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="GET - /api/v1/groups/{groupId}/apps")
        ApplicationList listApplications()
        List Assigned Applications Enumerates all applications that are assigned to a group.
        Returns:
        ApplicationList
      • delete

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="DELETE - /api/v1/groups/{groupId}")
        void delete()
        Remove Group Removes a group with `OKTA_GROUP` type from your organization.
        Specified by:
        delete in interface Deletable