@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2021-12-01T12:36:04.511-06:00") public interface Group extends ExtensibleResource, Deletable
Modifier and Type | Method and Description |
---|---|
Role |
assignRole(AssignRoleRequest assignRoleRequest)
Assigns a Role to a Group
|
Role |
assignRole(AssignRoleRequest assignRoleRequest,
java.lang.String disableNotifications)
Assigns a Role to a Group
|
void |
delete()
Remove Group
Removes a group with `OKTA_GROUP` type from your organization.
|
java.util.Date |
getCreated() |
java.util.Map<java.lang.String,java.lang.Object> |
getEmbedded() |
java.lang.String |
getId() |
java.util.Date |
getLastMembershipUpdated() |
java.util.Date |
getLastUpdated() |
java.util.Map<java.lang.String,java.lang.Object> |
getLinks() |
java.util.List<java.lang.String> |
getObjectClass() |
GroupProfile |
getProfile() |
GroupType |
getType() |
ApplicationList |
listApplications()
List Assigned Applications
Enumerates all applications that are assigned to a group.
|
UserList |
listUsers()
List Group Members
Enumerates all users that are a member of a group.
|
void |
removeUser(java.lang.String userId)
Remove User from Group
Removes a user from a group with 'OKTA_GROUP' type.
|
Group |
setProfile(GroupProfile profile) |
Group |
update()
Update Group
Updates the profile for a group with `OKTA_GROUP` type from your organization.
|
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
java.util.Map<java.lang.String,java.lang.Object> getEmbedded()
java.util.Map<java.lang.String,java.lang.Object> getLinks()
java.util.Date getCreated()
java.lang.String getId()
java.util.Date getLastMembershipUpdated()
java.util.Date getLastUpdated()
java.util.List<java.lang.String> getObjectClass()
GroupProfile getProfile()
Group setProfile(GroupProfile profile)
GroupType getType()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2021-12-01T12:36:04.511-06:00", comments="POST - /api/v1/groups/{groupId}/roles") Role assignRole(AssignRoleRequest assignRoleRequest, java.lang.String disableNotifications)
assignRoleRequest
- (required)disableNotifications
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2021-12-01T12:36:04.511-06:00", comments="POST - /api/v1/groups/{groupId}/roles") Role assignRole(AssignRoleRequest assignRoleRequest)
assignRoleRequest
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2021-12-01T12:36:04.511-06:00", comments="GET - /api/v1/groups/{groupId}/users") UserList listUsers()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2021-12-01T12:36:04.511-06:00", comments="PUT - /api/v1/groups/{groupId}") Group update()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2021-12-01T12:36:04.511-06:00", comments="DELETE - /api/v1/groups/{groupId}/users/{userId}") void removeUser(java.lang.String userId)
userId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2021-12-01T12:36:04.511-06:00", comments="GET - /api/v1/groups/{groupId}/apps") ApplicationList listApplications()
Copyright © 2017-2021 Okta. All Rights Reserved.