@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-28T09:54:00.189-05:00[America/Chicago]")
@Component(value="org.openapitools.client.api.UserApi")
public class UserApi
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
UserActivationToken |
activateUser(java.lang.String userId,
java.lang.Boolean sendEmail)
Activate a User
Activates a user.
|
PagedList |
activateUserWithPaginationInfo(java.lang.String userId,
java.lang.Boolean sendEmail)
Activate a User
Activates a user.
|
<T> T |
changePassword(java.lang.Class<?> T,
java.lang.String userId,
ChangePasswordRequest changePasswordRequest,
java.lang.Boolean strict)
Change Password
Changes a user's password by validating the user's current password.
|
UserCredentials |
changePassword(java.lang.String userId,
ChangePasswordRequest changePasswordRequest,
java.lang.Boolean strict)
Change Password
Changes a user's password by validating the user's current password.
|
PagedList |
changePasswordWithPaginationInfo(java.lang.String userId,
ChangePasswordRequest changePasswordRequest,
java.lang.Boolean strict)
Change Password
Changes a user's password by validating the user's current password.
|
<T> T |
changeRecoveryQuestion(java.lang.Class<?> T,
java.lang.String userId,
UserCredentials userCredentials)
Change Recovery Question
Changes a user's recovery question & answer credential by validating the user's current password.
|
UserCredentials |
changeRecoveryQuestion(java.lang.String userId,
UserCredentials userCredentials)
Change Recovery Question
Changes a user's recovery question & answer credential by validating the user's current password.
|
PagedList |
changeRecoveryQuestionWithPaginationInfo(java.lang.String userId,
UserCredentials userCredentials)
Change Recovery Question
Changes a user's recovery question & answer credential by validating the user's current password.
|
<T> T |
createUser(java.lang.Class<?> T,
CreateUserRequest body,
java.lang.Boolean activate,
java.lang.Boolean provider,
UserNextLogin nextLogin)
Create a User
Creates a new user in your Okta organization with or without credentials
|
User |
createUser(CreateUserRequest body,
java.lang.Boolean activate,
java.lang.Boolean provider,
UserNextLogin nextLogin)
Create a User
Creates a new user in your Okta organization with or without credentials
|
PagedList |
createUserWithPaginationInfo(CreateUserRequest body,
java.lang.Boolean activate,
java.lang.Boolean provider,
UserNextLogin nextLogin)
Create a User
Creates a new user in your Okta organization with or without credentials
|
void |
deactivateUser(java.lang.String userId,
java.lang.Boolean sendEmail)
Deactivate a User
Deactivates a user.
|
void |
deleteLinkedObjectForUser(java.lang.String userId,
java.lang.String relationshipName)
Delete a Linked Object
Deletes linked objects for a user, relationshipName can be ONLY a primary relationship name
|
void |
deleteUser(java.lang.String userId,
java.lang.Boolean sendEmail)
Delete a User
Deletes a user permanently.
|
User |
expirePassword(java.lang.String userId)
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(java.lang.String userId)
Expire Password and Set Temporary 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, and also sets the user's password to a temporary password returned in the response
|
PagedList |
expirePasswordAndGetTemporaryPasswordWithPaginationInfo(java.lang.String userId)
Expire Password and Set Temporary 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, and also sets the user's password to a temporary password returned in the response
|
PagedList |
expirePasswordWithPaginationInfo(java.lang.String userId)
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
|
ForgotPasswordResponse |
forgotPassword(java.lang.String userId,
java.lang.Boolean sendEmail)
Initiate Forgot Password
Initiate forgot password flow.
|
<T> T |
forgotPasswordSetNewPassword(java.lang.Class<?> T,
java.lang.String userId,
UserCredentials userCredentials,
java.lang.Boolean sendEmail)
Reset Password with Recovery Question
Resets the user's password to the specified password if the provided answer to the recovery question is correct
|
UserCredentials |
forgotPasswordSetNewPassword(java.lang.String userId,
UserCredentials userCredentials,
java.lang.Boolean sendEmail)
Reset Password with Recovery Question
Resets the user's password to the specified password if the provided answer to the recovery question is correct
|
PagedList |
forgotPasswordSetNewPasswordWithPaginationInfo(java.lang.String userId,
UserCredentials userCredentials,
java.lang.Boolean sendEmail)
Reset Password with Recovery Question
Resets the user's password to the specified password if the provided answer to the recovery question is correct
|
PagedList |
forgotPasswordWithPaginationInfo(java.lang.String userId,
java.lang.Boolean sendEmail)
Initiate Forgot Password
Initiate forgot password flow.
|
ApiClient |
getApiClient() |
OAuth2RefreshToken |
getRefreshTokenForUserAndClient(java.lang.String userId,
java.lang.String clientId,
java.lang.String tokenId,
java.lang.String expand,
java.lang.Integer limit,
java.lang.String after)
Retrieve a Refresh Token for a Client
Retrieves a refresh token issued for the specified User and Client
|
PagedList |
getRefreshTokenForUserAndClientWithPaginationInfo(java.lang.String userId,
java.lang.String clientId,
java.lang.String tokenId,
java.lang.String expand,
java.lang.Integer limit,
java.lang.String after)
Retrieve a Refresh Token for a Client
Retrieves a refresh token issued for the specified User and Client
|
User |
getUser(java.lang.String userId)
Retrieve a User
Retrieves a user from your Okta organization
|
OAuth2ScopeConsentGrant |
getUserGrant(java.lang.String userId,
java.lang.String grantId,
java.lang.String expand)
Retrieve a User Grant
Retrieves a grant for the specified user
|
PagedList |
getUserGrantWithPaginationInfo(java.lang.String userId,
java.lang.String grantId,
java.lang.String expand)
Retrieve a User Grant
Retrieves a grant for the specified user
|
PagedList |
getUserWithPaginationInfo(java.lang.String userId)
Retrieve a User
Retrieves a user from your Okta organization
|
java.util.List<AppLink> |
listAppLinks(java.lang.String userId)
List all Assigned Application Links
Lists all appLinks for all direct or indirect (via group membership) assigned applications
|
PagedList |
listAppLinksWithPaginationInfo(java.lang.String userId)
List all Assigned Application Links
Lists all appLinks for all direct or indirect (via group membership) assigned applications
|
java.util.List<OAuth2ScopeConsentGrant> |
listGrantsForUserAndClient(java.lang.String userId,
java.lang.String clientId,
java.lang.String expand,
java.lang.String after,
java.lang.Integer limit)
List all Grants for a Client
Lists all grants for a specified user and client
|
PagedList |
listGrantsForUserAndClientWithPaginationInfo(java.lang.String userId,
java.lang.String clientId,
java.lang.String expand,
java.lang.String after,
java.lang.Integer limit)
List all Grants for a Client
Lists all grants for a specified user and client
|
java.util.List<java.lang.Object> |
listLinkedObjectsForUser(java.lang.String userId,
java.lang.String relationshipName,
java.lang.String after,
java.lang.Integer limit)
List all Linked Objects
Lists all linked objects for a user, relationshipName can be a primary or associated relationship name
|
PagedList |
listLinkedObjectsForUserWithPaginationInfo(java.lang.String userId,
java.lang.String relationshipName,
java.lang.String after,
java.lang.Integer limit)
List all Linked Objects
Lists all linked objects for a user, relationshipName can be a primary or associated relationship name
|
java.util.List<OAuth2RefreshToken> |
listRefreshTokensForUserAndClient(java.lang.String userId,
java.lang.String clientId,
java.lang.String expand,
java.lang.String after,
java.lang.Integer limit)
List all Refresh Tokens for a Client
Lists all refresh tokens issued for the specified User and Client
|
PagedList |
listRefreshTokensForUserAndClientWithPaginationInfo(java.lang.String userId,
java.lang.String clientId,
java.lang.String expand,
java.lang.String after,
java.lang.Integer limit)
List all Refresh Tokens for a Client
Lists all refresh tokens issued for the specified User and Client
|
java.util.List<OAuth2Client> |
listUserClients(java.lang.String userId)
List all Clients
Lists all client resources for which the specified user has grants or tokens
|
PagedList |
listUserClientsWithPaginationInfo(java.lang.String userId)
List all Clients
Lists all client resources for which the specified user has grants or tokens
|
java.util.List<OAuth2ScopeConsentGrant> |
listUserGrants(java.lang.String userId,
java.lang.String scopeId,
java.lang.String expand,
java.lang.String after,
java.lang.Integer limit)
List all User Grants
Lists all grants for the specified user
|
PagedList |
listUserGrantsWithPaginationInfo(java.lang.String userId,
java.lang.String scopeId,
java.lang.String expand,
java.lang.String after,
java.lang.Integer limit)
List all User Grants
Lists all grants for the specified user
|
java.util.List<Group> |
listUserGroups(java.lang.String userId)
List all Groups
Lists all groups of which the user is a member
|
PagedList |
listUserGroupsWithPaginationInfo(java.lang.String userId)
List all Groups
Lists all groups of which the user is a member
|
java.util.List<IdentityProvider> |
listUserIdentityProviders(java.lang.String userId)
List all Identity Providers
Lists the IdPs associated with the user
|
PagedList |
listUserIdentityProvidersWithPaginationInfo(java.lang.String userId)
List all Identity Providers
Lists the IdPs associated with the user
|
java.util.List<User> |
listUsers(java.lang.String q,
java.lang.String after,
java.lang.Integer limit,
java.lang.String filter,
java.lang.String search,
java.lang.String sortBy,
java.lang.String sortOrder)
List all Users
Lists all users with pagination.
|
PagedList |
listUsersWithPaginationInfo(java.lang.String q,
java.lang.String after,
java.lang.Integer limit,
java.lang.String filter,
java.lang.String search,
java.lang.String sortBy,
java.lang.String sortOrder)
List all Users
Lists all users with pagination.
|
UserActivationToken |
reactivateUser(java.lang.String userId,
java.lang.Boolean sendEmail)
Reactivate a User
Reactivates a user.
|
PagedList |
reactivateUserWithPaginationInfo(java.lang.String userId,
java.lang.Boolean sendEmail)
Reactivate a User
Reactivates a user.
|
<T> T |
replaceUser(java.lang.Class<?> T,
java.lang.String userId,
UpdateUserRequest user,
java.lang.Boolean strict)
Replace a User
Replaces a user's profile and/or credentials using strict-update semantics
|
User |
replaceUser(java.lang.String userId,
UpdateUserRequest user,
java.lang.Boolean strict)
Replace a User
Replaces a user's profile and/or credentials using strict-update semantics
|
PagedList |
replaceUserWithPaginationInfo(java.lang.String userId,
UpdateUserRequest user,
java.lang.Boolean strict)
Replace a User
Replaces a user's profile and/or credentials using strict-update semantics
|
void |
resetFactors(java.lang.String userId)
Reset all Factors
This operation resets all factors for the specified user.
|
ResetPasswordToken |
resetPassword(java.lang.String userId,
java.lang.Boolean sendEmail)
Reset Password
Generates a one-time token (OTT) that can be used to reset a user's password.
|
PagedList |
resetPasswordWithPaginationInfo(java.lang.String userId,
java.lang.Boolean sendEmail)
Reset Password
Generates a one-time token (OTT) that can be used to reset a user's password.
|
void |
revokeGrantsForUserAndClient(java.lang.String userId,
java.lang.String clientId)
Revoke all Grants for a Client
Revokes all grants for the specified user and client
|
void |
revokeTokenForUserAndClient(java.lang.String userId,
java.lang.String clientId,
java.lang.String tokenId)
Revoke a Token for a Client
Revokes the specified refresh token
|
void |
revokeTokensForUserAndClient(java.lang.String userId,
java.lang.String clientId)
Revoke all Refresh Tokens for a Client
Revokes all refresh tokens issued for the specified User and Client
|
void |
revokeUserGrant(java.lang.String userId,
java.lang.String grantId)
Revoke a User Grant
Revokes one grant for a specified user
|
void |
revokeUserGrants(java.lang.String userId)
Revoke all User Grants
Revokes all grants for a specified user
|
void |
revokeUserSessions(java.lang.String userId,
java.lang.Boolean oauthTokens)
Revoke all User Sessions
Revokes all active identity provider sessions of the user.
|
void |
setApiClient(ApiClient apiClient) |
void |
setLinkedObjectForUser(java.lang.String associatedUserId,
java.lang.String primaryRelationshipName,
java.lang.String primaryUserId)
Create a Linked Object for two User
Creates a linked object for two users
|
void |
suspendUser(java.lang.String userId)
Suspend a User
Suspends a user.
|
void |
unlockUser(java.lang.String userId)
Unlock a User
Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status.
|
void |
unsuspendUser(java.lang.String userId)
Unsuspend a User
Unsuspends a user and returns them to the `ACTIVE` state.
|
<T> T |
updateUser(java.lang.Class<?> T,
java.lang.String userId,
UpdateUserRequest user,
java.lang.Boolean strict)
Update a User
Updates a user partially determined by the request parameters
|
User |
updateUser(java.lang.String userId,
UpdateUserRequest user,
java.lang.Boolean strict)
Update a User
Updates a user partially determined by the request parameters
|
PagedList |
updateUserWithPaginationInfo(java.lang.String userId,
UpdateUserRequest user,
java.lang.Boolean strict)
Update a User
Updates a user partially determined by the request parameters
|
public UserApi()
@Autowired public UserApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public UserActivationToken activateUser(java.lang.String userId, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)sendEmail
- Sends an activation email to the user if true (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList activateUserWithPaginationInfo(java.lang.String userId, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)sendEmail
- Sends an activation email to the user if true (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic UserCredentials changePassword(java.lang.String userId, ChangePasswordRequest changePasswordRequest, java.lang.Boolean strict) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)changePasswordRequest
- (required)strict
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T changePassword(java.lang.Class<?> T, java.lang.String userId, ChangePasswordRequest changePasswordRequest, java.lang.Boolean strict) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typeuserId
- (required)changePasswordRequest
- (required)strict
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList changePasswordWithPaginationInfo(java.lang.String userId, ChangePasswordRequest changePasswordRequest, java.lang.Boolean strict) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)changePasswordRequest
- (required)strict
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic UserCredentials changeRecoveryQuestion(java.lang.String userId, UserCredentials userCredentials) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)userCredentials
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T changeRecoveryQuestion(java.lang.Class<?> T, java.lang.String userId, UserCredentials userCredentials) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typeuserId
- (required)userCredentials
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList changeRecoveryQuestionWithPaginationInfo(java.lang.String userId, UserCredentials userCredentials) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)userCredentials
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic User createUser(CreateUserRequest body, java.lang.Boolean activate, java.lang.Boolean provider, UserNextLogin nextLogin) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
body
- (required)activate
- Executes activation lifecycle operation when creating the user (optional, default to true)provider
- Indicates whether to create a user with a specified authentication provider (optional, default to false)nextLogin
- With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in. (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T createUser(java.lang.Class<?> T, CreateUserRequest body, java.lang.Boolean activate, java.lang.Boolean provider, UserNextLogin nextLogin) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
T
- (required) - the assignable return typebody
- (required)activate
- Executes activation lifecycle operation when creating the user (optional, default to true)provider
- Indicates whether to create a user with a specified authentication provider (optional, default to false)nextLogin
- With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in. (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList createUserWithPaginationInfo(CreateUserRequest body, java.lang.Boolean activate, java.lang.Boolean provider, UserNextLogin nextLogin) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
body
- (required)activate
- Executes activation lifecycle operation when creating the user (optional, default to true)provider
- Indicates whether to create a user with a specified authentication provider (optional, default to false)nextLogin
- With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in. (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void deactivateUser(java.lang.String userId, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)sendEmail
- (optional, default to false)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void deleteLinkedObjectForUser(java.lang.String userId, java.lang.String relationshipName) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)relationshipName
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void deleteUser(java.lang.String userId, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
204 - No Content
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)sendEmail
- (optional, default to false)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic User expirePassword(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList expirePasswordWithPaginationInfo(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic TempPassword expirePasswordAndGetTemporaryPassword(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList expirePasswordAndGetTemporaryPasswordWithPaginationInfo(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic ForgotPasswordResponse forgotPassword(java.lang.String userId, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - Reset url
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)sendEmail
- (optional, default to true)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList forgotPasswordWithPaginationInfo(java.lang.String userId, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - Reset url
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)sendEmail
- (optional, default to true)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic UserCredentials forgotPasswordSetNewPassword(java.lang.String userId, UserCredentials userCredentials, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - Credentials
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)userCredentials
- (required)sendEmail
- (optional, default to true)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T forgotPasswordSetNewPassword(java.lang.Class<?> T, java.lang.String userId, UserCredentials userCredentials, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - Credentials
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typeuserId
- (required)userCredentials
- (required)sendEmail
- (optional, default to true)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList forgotPasswordSetNewPasswordWithPaginationInfo(java.lang.String userId, UserCredentials userCredentials, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - Credentials
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)userCredentials
- (required)sendEmail
- (optional, default to true)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic OAuth2RefreshToken getRefreshTokenForUserAndClient(java.lang.String userId, java.lang.String clientId, java.lang.String tokenId, java.lang.String expand, java.lang.Integer limit, java.lang.String after) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)clientId
- (required)tokenId
- (required)expand
- (optional)limit
- (optional, default to 20)after
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getRefreshTokenForUserAndClientWithPaginationInfo(java.lang.String userId, java.lang.String clientId, java.lang.String tokenId, java.lang.String expand, java.lang.Integer limit, java.lang.String after) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)clientId
- (required)tokenId
- (required)expand
- (optional)limit
- (optional, default to 20)after
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic User getUser(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getUserWithPaginationInfo(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic OAuth2ScopeConsentGrant getUserGrant(java.lang.String userId, java.lang.String grantId, java.lang.String expand) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)grantId
- (required)expand
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getUserGrantWithPaginationInfo(java.lang.String userId, java.lang.String grantId, java.lang.String expand) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)grantId
- (required)expand
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<AppLink> listAppLinks(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listAppLinksWithPaginationInfo(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<OAuth2ScopeConsentGrant> listGrantsForUserAndClient(java.lang.String userId, java.lang.String clientId, java.lang.String expand, java.lang.String after, java.lang.Integer limit) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)clientId
- (required)expand
- (optional)after
- (optional)limit
- (optional, default to 20)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listGrantsForUserAndClientWithPaginationInfo(java.lang.String userId, java.lang.String clientId, java.lang.String expand, java.lang.String after, java.lang.Integer limit) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)clientId
- (required)expand
- (optional)after
- (optional)limit
- (optional, default to 20)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<java.lang.Object> listLinkedObjectsForUser(java.lang.String userId, java.lang.String relationshipName, java.lang.String after, java.lang.Integer limit) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)relationshipName
- (required)after
- (optional)limit
- (optional, default to -1)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listLinkedObjectsForUserWithPaginationInfo(java.lang.String userId, java.lang.String relationshipName, java.lang.String after, java.lang.Integer limit) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)relationshipName
- (required)after
- (optional)limit
- (optional, default to -1)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<OAuth2RefreshToken> listRefreshTokensForUserAndClient(java.lang.String userId, java.lang.String clientId, java.lang.String expand, java.lang.String after, java.lang.Integer limit) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)clientId
- (required)expand
- (optional)after
- (optional)limit
- (optional, default to 20)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listRefreshTokensForUserAndClientWithPaginationInfo(java.lang.String userId, java.lang.String clientId, java.lang.String expand, java.lang.String after, java.lang.Integer limit) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)clientId
- (required)expand
- (optional)after
- (optional)limit
- (optional, default to 20)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<OAuth2Client> listUserClients(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listUserClientsWithPaginationInfo(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<OAuth2ScopeConsentGrant> listUserGrants(java.lang.String userId, java.lang.String scopeId, java.lang.String expand, java.lang.String after, java.lang.Integer limit) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)scopeId
- (optional)expand
- (optional)after
- (optional)limit
- (optional, default to 20)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listUserGrantsWithPaginationInfo(java.lang.String userId, java.lang.String scopeId, java.lang.String expand, java.lang.String after, java.lang.Integer limit) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)scopeId
- (optional)expand
- (optional)after
- (optional)limit
- (optional, default to 20)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<Group> listUserGroups(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listUserGroupsWithPaginationInfo(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<IdentityProvider> listUserIdentityProviders(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listUserIdentityProvidersWithPaginationInfo(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<User> listUsers(java.lang.String q, java.lang.String after, java.lang.Integer limit, java.lang.String filter, java.lang.String search, java.lang.String sortBy, java.lang.String sortOrder) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
429 - Too Many Requests
q
- Finds a user that matches firstName, lastName, and email properties (optional)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- Specifies the number of results returned. Defaults to 10 if `q` is provided. (optional, default to 200)filter
- Filters users with a supported expression for a subset of properties (optional)search
- Searches for users with a supported filtering expression for most properties. Okta recommends using this parameter for search for best performance. (optional)sortBy
- (optional)sortOrder
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listUsersWithPaginationInfo(java.lang.String q, java.lang.String after, java.lang.Integer limit, java.lang.String filter, java.lang.String search, java.lang.String sortBy, java.lang.String sortOrder) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
429 - Too Many Requests
q
- Finds a user that matches firstName, lastName, and email properties (optional)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- Specifies the number of results returned. Defaults to 10 if `q` is provided. (optional, default to 200)filter
- Filters users with a supported expression for a subset of properties (optional)search
- Searches for users with a supported filtering expression for most properties. Okta recommends using this parameter for search for best performance. (optional)sortBy
- (optional)sortOrder
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic UserActivationToken reactivateUser(java.lang.String userId, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)sendEmail
- Sends an activation email to the user if true (optional, default to false)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList reactivateUserWithPaginationInfo(java.lang.String userId, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)sendEmail
- Sends an activation email to the user if true (optional, default to false)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic User replaceUser(java.lang.String userId, UpdateUserRequest user, java.lang.Boolean strict) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)user
- (required)strict
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T replaceUser(java.lang.Class<?> T, java.lang.String userId, UpdateUserRequest user, java.lang.Boolean strict) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typeuserId
- (required)user
- (required)strict
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList replaceUserWithPaginationInfo(java.lang.String userId, UpdateUserRequest user, java.lang.Boolean strict) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)user
- (required)strict
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void resetFactors(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic ResetPasswordToken resetPassword(java.lang.String userId, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)sendEmail
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList resetPasswordWithPaginationInfo(java.lang.String userId, java.lang.Boolean sendEmail) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)sendEmail
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void revokeGrantsForUserAndClient(java.lang.String userId, java.lang.String clientId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)clientId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void revokeTokenForUserAndClient(java.lang.String userId, java.lang.String clientId, java.lang.String tokenId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)clientId
- (required)tokenId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void revokeTokensForUserAndClient(java.lang.String userId, java.lang.String clientId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)clientId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void revokeUserGrant(java.lang.String userId, java.lang.String grantId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)grantId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void revokeUserGrants(java.lang.String userId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void revokeUserSessions(java.lang.String userId, java.lang.Boolean oauthTokens) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)oauthTokens
- Revoke issued OpenID Connect and OAuth refresh and access tokens (optional, default to false)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void setLinkedObjectForUser(java.lang.String associatedUserId, java.lang.String primaryRelationshipName, java.lang.String primaryUserId) throws org.springframework.web.client.RestClientException
204 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
associatedUserId
- (required)primaryRelationshipName
- (required)primaryUserId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void suspendUser(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void unlockUser(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void unsuspendUser(java.lang.String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic User updateUser(java.lang.String userId, UpdateUserRequest user, java.lang.Boolean strict) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)user
- (required)strict
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T updateUser(java.lang.Class<?> T, java.lang.String userId, UpdateUserRequest user, java.lang.Boolean strict) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typeuserId
- (required)user
- (required)strict
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList updateUserWithPaginationInfo(java.lang.String userId, UpdateUserRequest user, java.lang.Boolean strict) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)user
- (required)strict
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APICopyright © 2017-2022 Okta. All Rights Reserved.