@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00") public class DefaultUser extends AbstractInstanceResource<User> implements User
propertiesreadLock, writeLock| Constructor and Description |
|---|
DefaultUser(InternalDataStore dataStore) |
DefaultUser(InternalDataStore dataStore,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
UserActivationToken |
activate(Boolean sendEmail)
Activate User
Activates a user.
|
void |
addAllAppsAsTarget(String roleId)
Success
|
void |
addGroupTarget(String roleId,
String groupId)
Success
|
void |
addToGroup(String groupId)
Add User to Group
Adds a user to a group with 'OKTA_GROUP' type.
|
Role |
assignRole(AssignRoleRequest assignRoleRequest)
Assigns a role to a user.
|
Role |
assignRole(AssignRoleRequest assignRoleRequest,
Boolean disableNotifications)
Assigns a role to a user.
|
UserCredentials |
changePassword(ChangePasswordRequest changePasswordRequest)
Change Password
Changes a user's password by validating the user's current password.
|
UserCredentials |
changePassword(ChangePasswordRequest changePasswordRequest,
Boolean strict)
Change Password
Changes a user's password by validating the user's current password.
|
UserCredentials |
changeRecoveryQuestion(UserCredentials userCredentials)
Change Recovery Question
Changes a user's recovery question & answer credential by validating the user's current password.
|
void |
clearSessions()
Removes all active identity provider sessions.
|
void |
clearSessions(Boolean oAuthTokens)
Removes all active identity provider sessions.
|
void |
deactivate()
Deactivate User
Deactivates a user.
|
void |
deactivate(Boolean sendEmail)
Deactivate User
Deactivates a user.
|
void |
delete()
Delete User
Deletes a user permanently.
|
void |
delete(Boolean sendEmail)
Delete User
Deletes a user permanently.
|
void |
deleteFactor(String factorId)
Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.
|
UserFactor |
enrollFactor(UserFactor body)
Enroll Factor
Enrolls a user with a supported factor.
|
UserFactor |
enrollFactor(UserFactor body,
Boolean updatePhone,
String templateId,
Integer tokenLifetimeSeconds,
Boolean activate)
Enroll Factor
Enrolls a user with a supported factor.
|
User |
expirePassword()
Expire Password
This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.
|
TempPassword |
expirePasswordAndGetTemporaryPassword()
Expire Password
This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.
|
ForgotPasswordResponse |
forgotPasswordGenerateOneTimeToken()
Forgot Password
Generates a one-time token (OTT) that can be used to reset a user's password
|
ForgotPasswordResponse |
forgotPasswordGenerateOneTimeToken(Boolean sendEmail)
Forgot Password
Generates a one-time token (OTT) that can be used to reset a user's password
|
ForgotPasswordResponse |
forgotPasswordSetNewPassword(UserCredentials user)
Forgot Password
Sets a new password for a user by validating the user's answer to their current recovery question
|
ForgotPasswordResponse |
forgotPasswordSetNewPassword(UserCredentials user,
Boolean sendEmail)
Forgot Password
Sets a new password for a user by validating the user's answer to their current recovery question
|
Date |
getActivated() |
Date |
getCreated() |
UserCredentials |
getCredentials() |
Map<String,Object> |
getEmbedded() |
UserFactor |
getFactor(String factorId)
Fetches a factor for the specified user
|
String |
getId() |
Date |
getLastLogin() |
Date |
getLastUpdated() |
ResponseLinksList |
getLinkedObjects(String relationshipName)
Get linked objects for a user, relationshipName can be a primary or associated relationship name
|
Map<String,Object> |
getLinks() |
Date |
getPasswordChanged() |
UserProfile |
getProfile() |
Map<String,Property> |
getPropertyDescriptors() |
OAuth2RefreshToken |
getRefreshTokenForUserAndClient(String clientId,
String tokenId)
Gets a refresh token issued for the specified User and Client.
|
OAuth2RefreshToken |
getRefreshTokenForUserAndClient(String clientId,
String tokenId,
String expand)
Gets a refresh token issued for the specified User and Client.
|
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
Role |
getRole(String roleId)
Gets role that is assigne to user.
|
UserStatus |
getStatus() |
Date |
getStatusChanged() |
UserStatus |
getTransitioningToStatus() |
UserType |
getType() |
AppLinkList |
listAppLinks()
Get Assigned App Links
Fetches appLinks for all direct or indirect (via group membership) assigned applications.
|
RoleList |
listAssignedRoles()
Lists all roles assigned to a user.
|
RoleList |
listAssignedRoles(String expand)
Lists all roles assigned to a user.
|
OAuth2ClientList |
listClients()
Lists all client resources for which the specified user has grants or tokens.
|
UserFactorList |
listFactors()
Enumerates all the enrolled factors for the specified user
|
OAuth2ScopeConsentGrantList |
listGrants()
Lists all grants for the specified user
|
OAuth2ScopeConsentGrantList |
listGrants(String scopeId,
String expand)
Lists all grants for the specified user
|
GroupList |
listGroups()
Get Member Groups
Fetches the groups of which the user is a member.
|
GroupList |
listGroupTargets(String roleId)
Success
|
IdentityProviderList |
listIdentityProviders()
Listing IdPs associated with a user
Lists the IdPs associated with the user.
|
OAuth2RefreshTokenList |
listRefreshTokensForUserAndClient(String clientId)
Lists all refresh tokens issued for the specified User and Client.
|
OAuth2RefreshTokenList |
listRefreshTokensForUserAndClient(String clientId,
String expand)
Lists all refresh tokens issued for the specified User and Client.
|
UserFactorList |
listSupportedFactors()
Enumerates all the supported factors that can be enrolled for the specified user
|
SecurityQuestionList |
listSupportedSecurityQuestions()
Enumerates all available security questions for a user's `question` factor
|
UserActivationToken |
reactivate()
Reactivate User
Reactivates a user.
|
UserActivationToken |
reactivate(Boolean sendEmail)
Reactivate User
Reactivates a user.
|
void |
removeGroupTarget(String roleId,
String groupId)
Success
|
void |
removeLinkedObject(String relationshipName)
Delete linked objects for a user, relationshipName can be ONLY a primary relationship name
|
void |
removeRole(String roleId)
Unassigns a role from a user.
|
void |
resetFactors()
Reset Factors
This operation resets all factors for the specified user.
|
ResetPasswordToken |
resetPassword(Boolean sendEmail)
Reset Password
Generates a one-time token (OTT) that can be used to reset a user's password.
|
void |
revokeGrant(String grantId)
Revokes one grant for a specified user
|
void |
revokeGrants()
Revokes all grants for a specified user
|
void |
revokeGrantsForUserAndClient(String clientId)
Revokes all grants for the specified user and client
|
void |
revokeTokenForUserAndClient(String clientId,
String tokenId)
Revokes the specified refresh token.
|
void |
revokeTokensForUserAndClient(String clientId)
Revokes all refresh tokens issued for the specified User and Client.
|
User |
setCredentials(UserCredentials credentials) |
void |
setLinkedObject(String primaryRelationshipName,
String primaryUserId) |
User |
setProfile(UserProfile profile) |
User |
setType(UserType type) |
void |
suspend()
Suspend User
Suspends a user.
|
void |
unlock()
Unlock User
Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status.
|
void |
unsuspend()
Unsuspend User
Unsuspends a user and returns them to the `ACTIVE` state.
|
User |
update()
Update User
Update a user's profile and/or credentials using strict-update semantics.
|
User |
update(Boolean strict)
Update User
Update a user's profile and/or credentials using strict-update semantics.
|
saveclear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, valuesgetBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetResourceHref, 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, valuespublic DefaultUser(InternalDataStore dataStore)
public DefaultUser(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic Class<? extends Resource> getResourceClass()
AbstractInstanceResourceFoo, in this case this method may return Foo.class.
(Defaults to getClass().)getResourceClass in class AbstractInstanceResource<User>public Map<String,Object> getEmbedded()
getEmbedded in interface Userpublic Date getActivated()
getActivated in interface Userpublic Date getCreated()
getCreated in interface Userpublic UserCredentials getCredentials()
getCredentials in interface Userpublic User setCredentials(UserCredentials credentials)
setCredentials in interface Userpublic Date getLastLogin()
getLastLogin in interface Userpublic Date getLastUpdated()
getLastUpdated in interface Userpublic Date getPasswordChanged()
getPasswordChanged in interface Userpublic UserProfile getProfile()
getProfile in interface Userpublic User setProfile(UserProfile profile)
setProfile in interface Userpublic UserStatus getStatus()
public Date getStatusChanged()
getStatusChanged in interface Userpublic UserStatus getTransitioningToStatus()
getTransitioningToStatus in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/idps") public IdentityProviderList listIdentityProviders()
listIdentityProviders in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/deactivate") public void deactivate(Boolean sendEmail)
deactivate in interface UsersendEmail - (optional, default to false)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/deactivate") public void deactivate()
deactivate in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/reset_password") public ResetPasswordToken resetPassword(Boolean sendEmail)
resetPassword in interface UsersendEmail - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true") public TempPassword expirePasswordAndGetTemporaryPassword()
expirePasswordAndGetTemporaryPassword in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/factors") public UserFactor enrollFactor(UserFactor body, Boolean updatePhone, String templateId, Integer tokenLifetimeSeconds, Boolean activate)
enrollFactor in interface Userbody - Factor (required)updatePhone - (optional, default to false)templateId - id of SMS template (only for SMS factor) (optional)tokenLifetimeSeconds - (optional, default to 300)activate - (optional, default to false)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/factors") public UserFactor enrollFactor(UserFactor body)
enrollFactor in interface Userbody - Factor (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/factors") public UserFactorList listFactors()
listFactors in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/credentials/forgot_password") public ForgotPasswordResponse forgotPasswordGenerateOneTimeToken(Boolean sendEmail)
forgotPasswordGenerateOneTimeToken in interface UsersendEmail - (optional, default to true)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/credentials/forgot_password") public ForgotPasswordResponse forgotPasswordGenerateOneTimeToken()
forgotPasswordGenerateOneTimeToken in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}/sessions") public void clearSessions(Boolean oAuthTokens)
clearSessions in interface UseroAuthTokens - Revoke issued OpenID Connect and OAuth refresh and access tokens (optional, default to false)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}/sessions") public void clearSessions()
clearSessions in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps") public void addAllAppsAsTarget(String roleId)
addAllAppsAsTarget in interface UserroleId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/credentials/forgot_password") public ForgotPasswordResponse forgotPasswordSetNewPassword(UserCredentials user, Boolean sendEmail)
forgotPasswordSetNewPassword in interface Useruser - (required)sendEmail - (optional, default to true)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/credentials/forgot_password") public ForgotPasswordResponse forgotPasswordSetNewPassword(UserCredentials user)
forgotPasswordSetNewPassword in interface Useruser - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}/clients/{clientId}/tokens") public void revokeTokensForUserAndClient(String clientId)
revokeTokensForUserAndClient in interface UserclientId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/reset_factors") public void resetFactors()
resetFactors in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/linkedObjects/{relationshipName}") public ResponseLinksList getLinkedObjects(String relationshipName)
getLinkedObjects in interface UserrelationshipName - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}/grants") public void revokeGrants()
revokeGrants in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/roles/{roleId}/targets/groups") public GroupList listGroupTargets(String roleId)
listGroupTargets in interface UserroleId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}") public OAuth2RefreshToken getRefreshTokenForUserAndClient(String clientId, String tokenId, String expand)
getRefreshTokenForUserAndClient in interface UserclientId - (required)tokenId - (required)expand - (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}") public OAuth2RefreshToken getRefreshTokenForUserAndClient(String clientId, String tokenId)
getRefreshTokenForUserAndClient in interface UserclientId - (required)tokenId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}/clients/{clientId}/grants") public void revokeGrantsForUserAndClient(String clientId)
revokeGrantsForUserAndClient in interface UserclientId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}/roles/{roleId}") public void removeRole(String roleId)
removeRole in interface UserroleId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}") public void revokeTokenForUserAndClient(String clientId, String tokenId)
revokeTokenForUserAndClient in interface UserclientId - (required)tokenId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false") public User expirePassword()
expirePassword in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/activate") public UserActivationToken activate(Boolean sendEmail)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/credentials/change_recovery_question") public UserCredentials changeRecoveryQuestion(UserCredentials userCredentials)
changeRecoveryQuestion in interface UseruserCredentials - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/grants") public OAuth2ScopeConsentGrantList listGrants(String scopeId, String expand)
listGrants in interface UserscopeId - (optional)expand - (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/grants") public OAuth2ScopeConsentGrantList listGrants()
listGrants in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/unsuspend") public void unsuspend()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/roles") public Role assignRole(AssignRoleRequest assignRoleRequest, Boolean disableNotifications)
assignRole in interface UserassignRoleRequest - (required)disableNotifications - (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/roles") public Role assignRole(AssignRoleRequest assignRoleRequest)
assignRole in interface UserassignRoleRequest - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/roles/{roleId}") public Role getRole(String roleId)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/groups") public GroupList listGroups()
listGroups in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/clients/{clientId}/tokens") public OAuth2RefreshTokenList listRefreshTokensForUserAndClient(String clientId, String expand)
listRefreshTokensForUserAndClient in interface UserclientId - (required)expand - (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/clients/{clientId}/tokens") public OAuth2RefreshTokenList listRefreshTokensForUserAndClient(String clientId)
listRefreshTokensForUserAndClient in interface UserclientId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}") public void removeGroupTarget(String roleId, String groupId)
removeGroupTarget in interface UserroleId - (required)groupId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/factors/catalog") public UserFactorList listSupportedFactors()
listSupportedFactors in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}") public void delete(Boolean sendEmail)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}") public void delete()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/clients") public OAuth2ClientList listClients()
listClients in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/suspend") public void suspend()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}/grants/{grantId}") public void revokeGrant(String grantId)
revokeGrant in interface UsergrantId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}") public void setLinkedObject(String primaryRelationshipName, String primaryUserId)
setLinkedObject in interface UserprimaryRelationshipName - (required)primaryUserId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}/linkedObjects/{relationshipName}") public void removeLinkedObject(String relationshipName)
removeLinkedObject in interface UserrelationshipName - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/unlock") public void unlock()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/users/{userId}") public User update(Boolean strict)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/users/{userId}") public User update()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/users/{userId}/factors/{factorId}") public void deleteFactor(String factorId)
deleteFactor in interface UserfactorId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/reactivate") public UserActivationToken reactivate(Boolean sendEmail)
reactivate in interface UsersendEmail - Sends an activation email to the user if true (optional, default to false)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/lifecycle/reactivate") public UserActivationToken reactivate()
reactivate in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/factors/{factorId}") public UserFactor getFactor(String factorId)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/credentials/change_password") public UserCredentials changePassword(ChangePasswordRequest changePasswordRequest, Boolean strict)
changePassword in interface UserchangePasswordRequest - (required)strict - (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/users/{userId}/credentials/change_password") public UserCredentials changePassword(ChangePasswordRequest changePasswordRequest)
changePassword in interface UserchangePasswordRequest - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/appLinks") public AppLinkList listAppLinks()
listAppLinks in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}") public void addGroupTarget(String roleId, String groupId)
addGroupTarget in interface UserroleId - (required)groupId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/factors/questions") public SecurityQuestionList listSupportedSecurityQuestions()
listSupportedSecurityQuestions in interface User@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/groups/{groupId}/users/{userId}") public void addToGroup(String groupId)
addToGroup in interface UsergroupId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/roles") public RoleList listAssignedRoles(String expand)
listAssignedRoles in interface Userexpand - (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/users/{userId}/roles") public RoleList listAssignedRoles()
listAssignedRoles in interface UserCopyright © 2017–2023 Okta. All rights reserved.