@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-09-29T14:57:29.703Z") 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, setResourceHrefgetBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringListclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesDate getCreated()
String getId()
Date getLastMembershipUpdated()
Date getLastUpdated()
GroupProfile getProfile()
Group setProfile(GroupProfile profile)
GroupType getType()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-09-29T14:57:29.703Z", 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="2022-09-29T14:57:29.703Z", comments="POST - /api/v1/groups/{groupId}/roles") Role assignRole(AssignRoleRequest assignRoleRequest)
assignRoleRequest - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-09-29T14:57:29.703Z", comments="GET - /api/v1/groups/{groupId}/users") UserList listUsers()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-09-29T14:57:29.703Z", comments="PUT - /api/v1/groups/{groupId}") Group update()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-09-29T14:57:29.703Z", comments="DELETE - /api/v1/groups/{groupId}/users/{userId}") void removeUser(String userId)
userId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-09-29T14:57:29.703Z", comments="GET - /api/v1/groups/{groupId}/apps") ApplicationList listApplications()
Copyright © 2017–2022 Okta. All rights reserved.