@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-01-18T04:14:02.238-06:00[America/Chicago]") @Component(value="org.openapitools.client.api.UserApi") public class UserApi extends Object
Modifier and Type | Method and Description |
---|---|
UserActivationToken |
activateUser(String userId,
Boolean sendEmail)
Activate a User
Activates a user.
|
PagedList |
activateUserWithPaginationInfo(String userId,
Boolean sendEmail)
Activate a User
Activates a user.
|
<T> T |
changePassword(Class<?> T,
String userId,
ChangePasswordRequest changePasswordRequest,
Boolean strict)
Change Password
Changes a user's password by validating the user's current password.
|
UserCredentials |
changePassword(String userId,
ChangePasswordRequest changePasswordRequest,
Boolean strict)
Change Password
Changes a user's password by validating the user's current password.
|
PagedList |
changePasswordWithPaginationInfo(String userId,
ChangePasswordRequest changePasswordRequest,
Boolean strict)
Change Password
Changes a user's password by validating the user's current password.
|
<T> T |
changeRecoveryQuestion(Class<?> T,
String userId,
UserCredentials userCredentials)
Change Recovery Question
Changes a user's recovery question & answer credential by validating the user's current password.
|
UserCredentials |
changeRecoveryQuestion(String userId,
UserCredentials userCredentials)
Change Recovery Question
Changes a user's recovery question & answer credential by validating the user's current password.
|
PagedList |
changeRecoveryQuestionWithPaginationInfo(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(Class<?> T,
CreateUserRequest body,
Boolean activate,
Boolean provider,
UserNextLogin nextLogin)
Create a User
Creates a new user in your Okta organization with or without credentials
|
User |
createUser(CreateUserRequest body,
Boolean activate,
Boolean provider,
UserNextLogin nextLogin)
Create a User
Creates a new user in your Okta organization with or without credentials
|
PagedList |
createUserWithPaginationInfo(CreateUserRequest body,
Boolean activate,
Boolean provider,
UserNextLogin nextLogin)
Create a User
Creates a new user in your Okta organization with or without credentials
|
void |
deactivateUser(String userId,
Boolean sendEmail)
Deactivate a User
Deactivates a user.
|
void |
deleteLinkedObjectForUser(String userId,
String relationshipName)
Delete a Linked Object
Deletes linked objects for a user, relationshipName can be ONLY a primary relationship name
|
void |
deleteUser(String userId,
Boolean sendEmail)
Delete a User
Deletes a user permanently.
|
User |
expirePassword(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(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(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(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(String userId,
Boolean sendEmail)
Initiate Forgot Password
Initiate forgot password flow.
|
<T> T |
forgotPasswordSetNewPassword(Class<?> T,
String userId,
UserCredentials userCredentials,
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(String userId,
UserCredentials userCredentials,
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(String userId,
UserCredentials userCredentials,
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(String userId,
Boolean sendEmail)
Initiate Forgot Password
Initiate forgot password flow.
|
ApiClient |
getApiClient() |
OAuth2RefreshToken |
getRefreshTokenForUserAndClient(String userId,
String clientId,
String tokenId,
String expand,
Integer limit,
String after)
Retrieve a Refresh Token for a Client
Retrieves a refresh token issued for the specified User and Client
|
PagedList |
getRefreshTokenForUserAndClientWithPaginationInfo(String userId,
String clientId,
String tokenId,
String expand,
Integer limit,
String after)
Retrieve a Refresh Token for a Client
Retrieves a refresh token issued for the specified User and Client
|
User |
getUser(String userId)
Retrieve a User
Retrieves a user from your Okta organization
|
OAuth2ScopeConsentGrant |
getUserGrant(String userId,
String grantId,
String expand)
Retrieve a User Grant
Retrieves a grant for the specified user
|
PagedList |
getUserGrantWithPaginationInfo(String userId,
String grantId,
String expand)
Retrieve a User Grant
Retrieves a grant for the specified user
|
PagedList |
getUserWithPaginationInfo(String userId)
Retrieve a User
Retrieves a user from your Okta organization
|
List<AppLink> |
listAppLinks(String userId)
List all Assigned Application Links
Lists all appLinks for all direct or indirect (via group membership) assigned applications
|
PagedList |
listAppLinksWithPaginationInfo(String userId)
List all Assigned Application Links
Lists all appLinks for all direct or indirect (via group membership) assigned applications
|
List<OAuth2ScopeConsentGrant> |
listGrantsForUserAndClient(String userId,
String clientId,
String expand,
String after,
Integer limit)
List all Grants for a Client
Lists all grants for a specified user and client
|
PagedList |
listGrantsForUserAndClientWithPaginationInfo(String userId,
String clientId,
String expand,
String after,
Integer limit)
List all Grants for a Client
Lists all grants for a specified user and client
|
List<Object> |
listLinkedObjectsForUser(String userId,
String relationshipName,
String after,
Integer limit)
List all Linked Objects
Lists all linked objects for a user, relationshipName can be a primary or associated relationship name
|
PagedList |
listLinkedObjectsForUserWithPaginationInfo(String userId,
String relationshipName,
String after,
Integer limit)
List all Linked Objects
Lists all linked objects for a user, relationshipName can be a primary or associated relationship name
|
List<OAuth2RefreshToken> |
listRefreshTokensForUserAndClient(String userId,
String clientId,
String expand,
String after,
Integer limit)
List all Refresh Tokens for a Client
Lists all refresh tokens issued for the specified User and Client
|
PagedList |
listRefreshTokensForUserAndClientWithPaginationInfo(String userId,
String clientId,
String expand,
String after,
Integer limit)
List all Refresh Tokens for a Client
Lists all refresh tokens issued for the specified User and Client
|
List<OAuth2Client> |
listUserClients(String userId)
List all Clients
Lists all client resources for which the specified user has grants or tokens
|
PagedList |
listUserClientsWithPaginationInfo(String userId)
List all Clients
Lists all client resources for which the specified user has grants or tokens
|
List<OAuth2ScopeConsentGrant> |
listUserGrants(String userId,
String scopeId,
String expand,
String after,
Integer limit)
List all User Grants
Lists all grants for the specified user
|
PagedList |
listUserGrantsWithPaginationInfo(String userId,
String scopeId,
String expand,
String after,
Integer limit)
List all User Grants
Lists all grants for the specified user
|
List<Group> |
listUserGroups(String userId)
List all Groups
Lists all groups of which the user is a member
|
PagedList |
listUserGroupsWithPaginationInfo(String userId)
List all Groups
Lists all groups of which the user is a member
|
List<IdentityProvider> |
listUserIdentityProviders(String userId)
List all Identity Providers
Lists the IdPs associated with the user
|
PagedList |
listUserIdentityProvidersWithPaginationInfo(String userId)
List all Identity Providers
Lists the IdPs associated with the user
|
List<User> |
listUsers(String q,
String after,
Integer limit,
String filter,
String search,
String sortBy,
String sortOrder)
List all Users
List all users that do not have a status of 'DEPROVISIONED' (by default), up to the maximum (200 for most orgs), with pagination.
|
PagedList |
listUsersWithPaginationInfo(String q,
String after,
Integer limit,
String filter,
String search,
String sortBy,
String sortOrder)
List all Users
List all users that do not have a status of 'DEPROVISIONED' (by default), up to the maximum (200 for most orgs), with pagination.
|
UserActivationToken |
reactivateUser(String userId,
Boolean sendEmail)
Reactivate a User
Reactivates a user.
|
PagedList |
reactivateUserWithPaginationInfo(String userId,
Boolean sendEmail)
Reactivate a User
Reactivates a user.
|
<T> T |
replaceUser(Class<?> T,
String userId,
UpdateUserRequest user,
Boolean strict)
Replace a User
Replaces a user's profile and/or credentials using strict-update semantics
|
User |
replaceUser(String userId,
UpdateUserRequest user,
Boolean strict)
Replace a User
Replaces a user's profile and/or credentials using strict-update semantics
|
PagedList |
replaceUserWithPaginationInfo(String userId,
UpdateUserRequest user,
Boolean strict)
Replace a User
Replaces a user's profile and/or credentials using strict-update semantics
|
void |
resetFactors(String userId)
Reset all Factors
This operation resets all factors for the specified user.
|
ResetPasswordToken |
resetPassword(String userId,
Boolean sendEmail)
Reset Password
Generates a one-time token (OTT) that can be used to reset a user's password.
|
PagedList |
resetPasswordWithPaginationInfo(String userId,
Boolean sendEmail)
Reset Password
Generates a one-time token (OTT) that can be used to reset a user's password.
|
void |
revokeGrantsForUserAndClient(String userId,
String clientId)
Revoke all Grants for a Client
Revokes all grants for the specified user and client
|
void |
revokeTokenForUserAndClient(String userId,
String clientId,
String tokenId)
Revoke a Token for a Client
Revokes the specified refresh token
|
void |
revokeTokensForUserAndClient(String userId,
String clientId)
Revoke all Refresh Tokens for a Client
Revokes all refresh tokens issued for the specified User and Client
|
void |
revokeUserGrant(String userId,
String grantId)
Revoke a User Grant
Revokes one grant for a specified user
|
void |
revokeUserGrants(String userId)
Revoke all User Grants
Revokes all grants for a specified user
|
void |
revokeUserSessions(String userId,
Boolean oauthTokens)
Revoke all User Sessions
Revokes all active identity provider sessions of the user.
|
void |
setApiClient(ApiClient apiClient) |
void |
setLinkedObjectForUser(String associatedUserId,
String primaryRelationshipName,
String primaryUserId)
Create a Linked Object for two User
Creates a linked object for two users
|
void |
suspendUser(String userId)
Suspend a User
Suspends a user.
|
void |
unlockUser(String userId)
Unlock a User
Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status.
|
void |
unsuspendUser(String userId)
Unsuspend a User
Unsuspends a user and returns them to the `ACTIVE` state.
|
<T> T |
updateUser(Class<?> T,
String userId,
UpdateUserRequest user,
Boolean strict)
Update a User
Updates a user partially determined by the request parameters
|
User |
updateUser(String userId,
UpdateUserRequest user,
Boolean strict)
Update a User
Updates a user partially determined by the request parameters
|
PagedList |
updateUserWithPaginationInfo(String userId,
UpdateUserRequest user,
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(String userId, 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(String userId, 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(String userId, ChangePasswordRequest changePasswordRequest, 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(Class<?> T, String userId, ChangePasswordRequest changePasswordRequest, 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(String userId, ChangePasswordRequest changePasswordRequest, 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(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(Class<?> T, 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(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, Boolean activate, 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(Class<?> T, CreateUserRequest body, Boolean activate, 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, Boolean activate, 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(String userId, 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(String userId, 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(String userId, 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(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(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(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(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(String userId, 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(String userId, 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(String userId, UserCredentials userCredentials, 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(Class<?> T, String userId, UserCredentials userCredentials, 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(String userId, UserCredentials userCredentials, 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(String userId, String clientId, String tokenId, String expand, Integer limit, 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(String userId, String clientId, String tokenId, String expand, Integer limit, 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(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(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(String userId, String grantId, 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(String userId, String grantId, 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 List<AppLink> listAppLinks(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(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 List<OAuth2ScopeConsentGrant> listGrantsForUserAndClient(String userId, String clientId, String expand, String after, 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(String userId, String clientId, String expand, String after, 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 List<Object> listLinkedObjectsForUser(String userId, String relationshipName, String after, 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(String userId, String relationshipName, String after, 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 List<OAuth2RefreshToken> listRefreshTokensForUserAndClient(String userId, String clientId, String expand, String after, 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(String userId, String clientId, String expand, String after, 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 List<OAuth2Client> listUserClients(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(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 List<OAuth2ScopeConsentGrant> listUserGrants(String userId, String scopeId, String expand, String after, 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(String userId, String scopeId, String expand, String after, 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 List<Group> listUserGroups(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(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 List<IdentityProvider> listUserIdentityProviders(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(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 List<User> listUsers(String q, String after, Integer limit, String filter, String search, String sortBy, 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(String q, String after, Integer limit, String filter, String search, String sortBy, 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(String userId, 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(String userId, 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(String userId, UpdateUserRequest user, 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(Class<?> T, String userId, UpdateUserRequest user, 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(String userId, UpdateUserRequest user, 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(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(String userId, 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(String userId, 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(String userId, 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(String userId, String clientId, 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(String userId, 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(String userId, 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(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(String userId, 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(String associatedUserId, String primaryRelationshipName, 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(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(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(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(String userId, UpdateUserRequest user, 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(Class<?> T, String userId, UpdateUserRequest user, 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(String userId, UpdateUserRequest user, 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–2023 Okta. All rights reserved.