@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05: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,
Boolean disableNotifications)
Assigns a Role to a Group
|
void |
delete()
Remove Group
Removes a group with `OKTA_GROUP` type from your organization.
|
Date |
getCreated() |
Map<String,Object> |
getEmbedded() |
String |
getId() |
Date |
getLastMembershipUpdated() |
Date |
getLastUpdated() |
Map<String,Object> |
getLinks() |
List<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(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
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Date getCreated()
String getId()
Date getLastMembershipUpdated()
Date getLastUpdated()
GroupProfile getProfile()
Group setProfile(GroupProfile profile)
GroupType getType()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/groups/{groupId}/roles") Role assignRole(AssignRoleRequest assignRoleRequest, Boolean disableNotifications)
assignRoleRequest
- (required)disableNotifications
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/groups/{groupId}/roles") Role assignRole(AssignRoleRequest assignRoleRequest)
assignRoleRequest
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/{groupId}/users") UserList listUsers()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="PUT - /api/v1/groups/{groupId}") Group update()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/groups/{groupId}/users/{userId}") void removeUser(String userId)
userId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/{groupId}/apps") ApplicationList listApplications()
Copyright © 2017–2023 Okta. All rights reserved.