33 operation(s). Part of the API index.
Call these as client.<service>.<method>(...). <service> is the client field for this
group — the README lists the field name for every service.
These pages group operations the way the OpenAPI specification tags them, which
is not always one field per page.
GET /identity/v2/auth/account/passkey
List registered Passkeys
Lists all registered Passkeys for a User with a valid Access Token.
public static void callAccountListPasskey(LoginRadiusClient client) {
String accessToken = "<accessToken>"; //Optional
try {
var response = client.user.accountListPasskey(accessToken);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
PasskeyListResponse
DELETE /identity/v2/auth/account/passkey/{passkeyId}
Remove Passkey
Removes a specific Passkey from the User's Account.
public static void callAccountRemovePasskey(LoginRadiusClient client) {
String passkeyId = "<passkeyId>"; //Required
String accessToken = "<accessToken>"; //Optional
try {
var response = client.user.accountRemovePasskey(passkeyId, accessToken);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
passkeyId |
path | string | yes | Id asscociated with the Passkey |
access_token |
query | string | no | Access Token of the User |
IsDeleted
POST /identity/v2/auth/email
Add Email
Adds an Email to a User's account, either as a primary or additional Email.
public static void callAddEmail(LoginRadiusClient client) {
AddEmailModel addEmailModel = new AddEmailModel().email("<email>"); //Required
String accessToken = "<accessToken>"; //Optional
String emailtemplate = "<emailtemplate>"; //Optional
String verificationurl = "<verificationurl>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
try {
var response = client.user.addEmail(addEmailModel, accessToken, emailtemplate, verificationurl, preventWebhook, xPreventWebhook);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
emailtemplate |
query | string | no | Name of the Email template to use for this notification. |
verificationurl |
query | string | no | Verification URL for the User which will be included in the Email template.. |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
AddEmailModel as application/json.
IsPostedResponse
PUT /identity/v2/auth/phone
Change Phone number
Updates the User's Phone number using the Access Token.
public static void callChangePhoneNumber(LoginRadiusClient client) {
String smstemplate = "<smstemplate>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
String accessToken = "<accessToken>"; //Optional
Boolean isvoiceotp = true; //Optional
PhoneIdModel phoneIdModel = new PhoneIdModel().phone("<phone>"); //Optional
try {
var response = client.user.changePhoneNumber(smstemplate, preventWebhook, xPreventWebhook, accessToken, isvoiceotp, phoneIdModel);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
smstemplate |
query | string | no | SMS Template |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
access_token |
query | string | no | Access Token of the User |
isvoiceotp |
query | boolean | no | Boolean flag to enforce sending SMS content via Voice. |
PhoneIdModel as application/json.
SMSResponse
GET /identity/v2/auth/email
Check Email availability
Verifies Email availability or checks Email using a Verification Token or OTP.
public static void callCheckEmailAvailability(LoginRadiusClient client) {
String email = "<email>"; //Optional
String username = "<username>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
String verificationtoken = "<verificationtoken>"; //Optional
String otp = "<otp>"; //Optional
String uuid = "<uuid>"; //Optional
String url = "<url>"; //Optional
String welcomeemailtemplate = "<welcomeemailtemplate>"; //Optional
String gRecaptchaResponse = "<gRecaptchaResponse>"; //Optional
String gRecaptchaResponse2 = "<gRecaptchaResponse2>"; //Optional
String qqCaptchaTicket = "<qqCaptchaTicket>"; //Optional
String qqCaptchaRandstr = "<qqCaptchaRandstr>"; //Optional
String hCaptchaResponse = "<hCaptchaResponse>"; //Optional
try {
var response = client.user.checkEmailAvailability(email, username, preventWebhook, xPreventWebhook, verificationtoken, otp, uuid, url, welcomeemailtemplate, gRecaptchaResponse, gRecaptchaResponse2, qqCaptchaTicket, qqCaptchaRandstr, hCaptchaResponse);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
email |
query | string (email) | no | Email address of the associated Account. |
username |
query | string | no | Username of the associated Account. |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
verificationtoken |
query | string | no | Verification token received in the Email. |
otp |
query | string | no | One-time passcode sent to the User's Email. |
uuid |
query | string | no | Email template for the welcome Email. |
url |
query | string | no | URL to log the main domain in the database. |
welcomeemailtemplate |
query | string | no | Welcome Email Template |
g-recaptcha-response |
query | string | no | Google reCAPTCHA response parameter which will be sent to the server for verification. |
g_recaptcha_response |
query | string | no | Google reCAPTCHA Response |
qq_captcha_ticket |
query | string | no | QQ reCAPTCHA Response |
qq_captcha_randstr |
query | string | no | QQ reCAPTCHA Response |
h-captcha-response |
query | string | no | hCaptcha Response |
object
POST /identity/v2/auth/account/delete
Delete Account by Phone OTP
Deletes an Account using a Phone OTP.
public static void callDeleteAccByPhoneOTP(LoginRadiusClient client) {
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
String gRecaptchaResponse = "<gRecaptchaResponse>"; //Optional
String gRecaptchaResponse2 = "<gRecaptchaResponse2>"; //Optional
String hCaptchaResponse = "<hCaptchaResponse>"; //Optional
String qqCaptchaTicket = "<qqCaptchaTicket>"; //Required
String qqCaptchaRandstr = "<qqCaptchaRandstr>"; //Required
VerifyDeleteAccountOtp verifyDeleteAccountOtp = new VerifyDeleteAccountOtp().otp("<otp>"); //Optional
try {
var response = client.user.deleteAccByPhoneOTP(accessToken, preventWebhook, xPreventWebhook, gRecaptchaResponse, gRecaptchaResponse2, hCaptchaResponse, qqCaptchaTicket, qqCaptchaRandstr, verifyDeleteAccountOtp);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
g-recaptcha-response |
query | string | no | Google reCAPTCHA response parameter which will be sent to the server for verification. |
g_recaptcha_response |
query | string | no | Google reCAPTCHA Response |
h-captcha-response |
query | string | no | hCaptcha Response |
qq_captcha_ticket |
query | string | no | QQ Captcha ticket (required if Bot Protection is enabled) |
qq_captcha_randstr |
query | string | no | QQ Captcha rand string (required if Bot Protection is enabled) |
VerifyDeleteAccountOtp as application/json.
IsDeleted
GET /identity/v2/auth/account/delete
Delete Account by Email token or OTP
Deletes an Account using a delete token or OTP.
public static void callDeleteAccount(LoginRadiusClient client) {
Boolean preventWebhook = true; //Optional
String deletetoken = "<deletetoken>"; //Optional
Boolean xPreventWebhook = true; //Optional
String email = "<email>"; //Optional
String otp = "<otp>"; //Optional
try {
var response = client.user.deleteAccount(preventWebhook, deletetoken, xPreventWebhook, email, otp);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
deletetoken |
query | string | no | This is required if the OTP is not passed in the query parameter. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
email |
query | string (email) | no | Email address of the associated Account. |
otp |
query | string | no | One-time passcode sent to the User's Email. |
IsPostedResponse
DELETE /identity/v2/auth/account
Send User deletion Email
Sends a confirmation Email for User deletion to the User's Email using their Access Token.
public static void callDeleteAccountByAccessToken(LoginRadiusClient client) {
String emailtemplate = "<emailtemplate>"; //Optional
String deleteurl = "<deleteurl>"; //Optional
String accessToken = "<accessToken>"; //Optional
try {
var response = client.user.deleteAccountByAccessToken(emailtemplate, deleteurl, accessToken);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
emailtemplate |
query | string | no | Name of the Email template to use for this notification. |
deleteurl |
query | string | no | DeleteUrl URL which is being sent in the Email |
access_token |
query | string | no | Access Token of the User |
IsDeleteRequestAccepted
DELETE /identity/v2/auth/email
Remove Email
Removes additional Emails from a User's account.
public static void callDeleteemailbyaccesstoken(LoginRadiusClient client) {
DeleteemailbyaccesstokenRequest deleteemailbyaccesstokenRequest = new DeleteemailbyaccesstokenRequest().email("<email>"); //Required
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
try {
var response = client.user.deleteemailbyaccesstoken(deleteemailbyaccesstokenRequest, preventWebhook, xPreventWebhook);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
object as application/json.
IsDeleted
GET /identity/v2/auth/account
Retrieve User
Retrieves User details based on the Access Token.
public static void callGetAccountDetails(LoginRadiusClient client) {
String welcomeemailtemplate = "<welcomeemailtemplate>"; //Optional
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
try {
var response = client.user.getAccountDetails(welcomeemailtemplate, accessToken, preventWebhook, xPreventWebhook);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
welcomeemailtemplate |
query | string | no | Welcome Email Template |
access_token |
query | string | no | Access Token of the User |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
IdentityResponseWithSocialWithoutLogins
GET /identity/v2/auth/consent/logs
Retrieve Consent Logs
Retrieves consent logs for a User based on the provided Access Token.
public static void callGetConsentLogs(LoginRadiusClient client) {
String accessToken = "<accessToken>"; //Optional
try {
var response = client.user.getConsentLogs(accessToken);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
ConsentLogsResponse
GET /identity/v2/auth/invitations/{invitation_token}
Retrieve invitation details
Retrieves details about a specific invitation using the invitation token.
public static void callGetInvitation(LoginRadiusClient client) {
String invitationToken = "<invitationToken>"; //Required
try {
var response = client.user.getInvitation(invitationToken);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
invitation_token |
path | string | yes | The token of the invitation to retrieve. |
InvitationToken
GET /v2/manage/invitations/{invitationid}
Retrieve invitation by ID
Retrieves invitation details by invitation ID.
public static void callGetInvitationByInvitationId(LoginRadiusClient client) {
String invitationid = "<invitationid>"; //Required
try {
var response = client.user.getInvitationByInvitationId(invitationid);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
invitationid |
path | string | yes | The ID of the invitation. The ID is typically in the format inv_<unique_id>, where <unique_id> is a string of alphanumeric characters. |
Invitation
GET /identity/v2/auth/privacypolicy/accept
Accept Privacy Policy
Updates the Privacy Policy stored in a User's profile using their Access Token.
public static void callGetPrivacyPolicyAcceptance(LoginRadiusClient client) {
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
try {
var response = client.user.getPrivacyPolicyAcceptance(accessToken, preventWebhook, xPreventWebhook);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
IdentityResponseWithSocialWithoutLogins
GET /identity/v2/auth/privacypolicy/history
Retrieve Privacy Policy History
Returns all accepted Privacy Policies for a User using their Access Token.
public static void callGetPrivacyPolicyHistory(LoginRadiusClient client) {
String accessToken = "<accessToken>"; //Optional
try {
var response = client.user.getPrivacyPolicyHistory(accessToken);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
PrivacyPolicyHistoryResponse
GET /identity/v2/auth/consent/verify
Retrieve Consent Status
Retrieves the consent verification status for a User based on the provided Access Token and event.
public static void callGetVerifiedConsentWithAccessToken(LoginRadiusClient client) {
String event = "<event>"; //Required
Boolean iscustom = true; //Required
String accessToken = "<accessToken>"; //Optional
try {
var response = client.user.getVerifiedConsentWithAccessToken(event, iscustom, accessToken);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
event |
query | string | yes | Event type to filter consent verification (e.g., login). |
iscustom |
query | boolean | yes | This field value is used to filter the consent verification by custom events. The iscustom value should be a boolean. If true, it filters for custom events; if false, it filters for standard events. |
VerifyConsent
POST /identity/v2/auth/socialidentity
Link social identities
Links a social provider account to an existing Account using Access Tokens.
public static void callLinkSocialIdentitiesByAccessToken(LoginRadiusClient client) {
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
CandidateTokenModel candidateTokenModel = new CandidateTokenModel().candidatetoken("<candidatetoken>"); //Optional
try {
var response = client.user.linkSocialIdentitiesByAccessToken(accessToken, preventWebhook, xPreventWebhook, candidateTokenModel);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
CandidateTokenModel as application/json.
IsPostedResponse
POST /identity/v2/auth/socialidentity/ping
Link social identities via PING
Links a social provider account with an existing Account using the Access Token and the social provider's User Access Token.
public static void callLinkSocialIdentitiesByPing(LoginRadiusClient client) {
String accessToken = "<accessToken>"; //Optional
ClientGuidBodyModel clientGuidBodyModel = new ClientGuidBodyModel().clientgUID("<clientgUID>").access_token("<access_token>"); //Optional
try {
var response = client.user.linkSocialIdentitiesByPing(accessToken, clientGuidBodyModel);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
ClientGuidBodyModel as application/json.
IsPostedResponse
DELETE /identity/v2/auth/phone
Remove Phone number
Removes the User's Phone number using the Access Token.
public static void callRemovePhoneIdByToken(LoginRadiusClient client) {
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
try {
var response = client.user.removePhoneIdByToken(accessToken, preventWebhook, xPreventWebhook);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
IsDeleted
PUT /identity/v2/auth/register
Resend verification Email
Resends the verification Email to the User to confirm their Email address.
public static void callResendEmailVerification(LoginRadiusClient client) {
EmailModel emailModel = new EmailModel().email("<email>"); //Required
String verificationurl = "<verificationurl>"; //Optional
String emailtemplate = "<emailtemplate>"; //Optional
try {
var response = client.user.resendEmailVerification(emailModel, verificationurl, emailtemplate);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
verificationurl |
query | string | no | Verification URL for the User which will be included in the Email template.. |
emailtemplate |
query | string | no | Name of the Email template to use for this notification. |
EmailModel as application/json.
IsPostedResponse
POST /identity/v2/auth/phone/otp
Resend Phone OTP
Resends the Phone OTP using either the Access Token or Phone number.
public static void callResendPhoneOtp(LoginRadiusClient client) {
String smstemplate = "<smstemplate>"; //Optional
String accessToken = "<accessToken>"; //Optional
Boolean isvoiceotp = true; //Optional
PhoneIdModelOptional phoneIdModelOptional = new PhoneIdModelOptional().phone("<phone>"); //Optional
try {
var response = client.user.resendPhoneOtp(smstemplate, accessToken, isvoiceotp, phoneIdModelOptional);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
smstemplate |
query | string | no | SMS Template |
access_token |
query | string | no | Access Token of the User |
isvoiceotp |
query | boolean | no | Boolean flag to enforce sending SMS content via Voice. |
PhoneIdModelOptional as application/json.
SMSResponse
GET /identity/v2/auth/account/otp
Retrieve delete Account OTP
Retrieves the OTP for the specified Account to facilitate account deletion.
public static void callSendDeleteOtp(LoginRadiusClient client) {
String accessToken = "<accessToken>"; //Optional
String smstemplate = "<smstemplate>"; //Optional
Boolean isvoiceotp = true; //Optional
try {
var response = client.user.sendDeleteOtp(accessToken, smstemplate, isvoiceotp);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
smstemplate |
query | string | no | SMS Template |
isvoiceotp |
query | boolean | no | Boolean flag to enforce sending SMS content via Voice. |
SMSResponse
GET /identity/v2/auth/email/sendverificationemail
Send verification Email for social profile linking
Sends a verification Email to the unverified Email of the social profile. This is applicable only in optional verification workflows.
public static void callSendEmailVerification(LoginRadiusClient client) {
String emailtemplate = "<emailtemplate>"; //Optional
String verificationurl = "<verificationurl>"; //Optional
String clientguid = "<clientguid>"; //Optional
String accessToken = "<accessToken>"; //Optional
try {
var response = client.user.sendEmailVerification(emailtemplate, verificationurl, clientguid, accessToken);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
emailtemplate |
query | string | no | Name of the Email template to use for this notification. |
verificationurl |
query | string | no | Verification URL for the User which will be included in the Email template.. |
clientguid |
query | string | no | Client GUID for the request. |
access_token |
query | string | no | Access Token of the User |
SendEmailVerificationResponse
GET /identity/v2/auth/account/sendwelcomeemail
Send Welcome Email
Sends a welcome Email to the User.
public static void callSendWelcomeEmail(LoginRadiusClient client) {
String welcomeemailtemplate = "<welcomeemailtemplate>"; //Optional
String accessToken = "<accessToken>"; //Optional
try {
var response = client.user.sendWelcomeEmail(welcomeemailtemplate, accessToken);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
welcomeemailtemplate |
query | string | no | Welcome Email Template |
access_token |
query | string | no | Access Token of the User |
IsPostedResponse
PUT /identity/v2/auth/username
Update Username
Sets or changes the User's Username using the Access Token.
public static void callSetorchangeusernamebyaccesstoken(LoginRadiusClient client) {
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
SetUserNameRequest setUserNameRequest = new SetUserNameRequest().username("<username>"); //Optional
try {
var response = client.user.setorchangeusernamebyaccesstoken(accessToken, preventWebhook, xPreventWebhook, setUserNameRequest);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
SetUserNameRequest as application/json.
IsPostedResponse
POST /identity/v2/auth/consent/profile
Submit Consent
Submits User consent information using an Access Token.
public static void callSubmitConsentByAccessToken(LoginRadiusClient client) {
ConsentSubmit consentSubmit = new ConsentSubmit().events("<events>").data("<data>"); //Required
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
try {
var response = client.user.submitConsentByAccessToken(consentSubmit, accessToken, preventWebhook, xPreventWebhook);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
ConsentSubmit as application/json.
Profile
POST /identity/v2/auth/consent
Submit Consent with Token
Submits User consent information using a consent token.
public static void callSubmitConsentByConsentToken(LoginRadiusClient client) {
String consenttoken = "<consenttoken>"; //Required
ConsentSubmit consentSubmit = new ConsentSubmit().events("<events>").data("<data>"); //Required
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
try {
var response = client.user.submitConsentByConsentToken(consenttoken, consentSubmit, preventWebhook, xPreventWebhook);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
consenttoken |
query | string | yes | The consent token for the User. |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
ConsentSubmit as application/json.
ConsentResponse
DELETE /identity/v2/auth/socialidentity
Unlink social identities
Unlinks a social provider account from the specified Account using Access Tokens, removing it from the database.
public static void callUnlinkSocialIdentitiesByAccessToken(LoginRadiusClient client) {
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
UnlinkSocialIdentityRequest unlinkSocialIdentityRequest = new UnlinkSocialIdentityRequest().provider("<provider>").providerid("<providerid>"); //Optional
try {
var response = client.user.unlinkSocialIdentitiesByAccessToken(accessToken, preventWebhook, xPreventWebhook, unlinkSocialIdentityRequest);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
UnlinkSocialIdentityRequest as application/json.
IsDeleted
PUT /identity/v2/auth/account/unlock
Unlock User
Unlocks a User's Account with a valid Access Token after successfully passing Bot Protection challenges.
public static void callUnlockaccountbyaccesstoken(LoginRadiusClient client) {
UnlockaccountbyaccesstokenRequest unlockaccountbyaccesstokenRequest = new UnlockaccountbyaccesstokenRequest().securityAnswer("<securityAnswer>"); //Required
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
String gRecaptchaResponse = "<gRecaptchaResponse>"; //Optional
String qqCaptchaTicket = "<qqCaptchaTicket>"; //Optional
String qqCaptchaRandstr = "<qqCaptchaRandstr>"; //Optional
String hCaptchaResponse = "<hCaptchaResponse>"; //Optional
try {
var response = client.user.unlockaccountbyaccesstoken(unlockaccountbyaccesstokenRequest, accessToken, preventWebhook, xPreventWebhook, gRecaptchaResponse, qqCaptchaTicket, qqCaptchaRandstr, hCaptchaResponse);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
g-recaptcha-response |
query | string | no | Google reCAPTCHA response parameter which will be sent to the server for verification. |
qq_captcha_ticket |
query | string | no | QQ reCAPTCHA Response |
qq_captcha_randstr |
query | string | no | QQ reCAPTCHA Response |
h-captcha-response |
query | string | no | hCaptcha Response |
object as application/json.
IsPostedResponse
PUT /identity/v2/auth/account
Update User
Updates the User's account information using a valid Access Token.
public static void callUpdateAccountByAccessToken(LoginRadiusClient client) {
UpdateAccountByAccessTokenRequest updateAccountByAccessTokenRequest = new UpdateAccountByAccessTokenRequest().access_token("<access_token>").userName("<userName>").phoneId("<phoneId>"); //Required
String verificationurl = "<verificationurl>"; //Optional
String emailtemplate = "<emailtemplate>"; //Optional
String smstemplate = "<smstemplate>"; //Optional
Boolean nullsupport = true; //Optional
Boolean isvoiceotp = true; //Optional
String fields = "<fields>"; //Optional
String gRecaptchaResponse = "<gRecaptchaResponse>"; //Optional
String qqCaptchaTicket = "<qqCaptchaTicket>"; //Optional
String qqCaptchaRandstr = "<qqCaptchaRandstr>"; //Optional
String hCaptchaResponse = "<hCaptchaResponse>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
String accessToken = "<accessToken>"; //Optional
try {
var response = client.user.updateAccountByAccessToken(updateAccountByAccessTokenRequest, verificationurl, emailtemplate, smstemplate, nullsupport, isvoiceotp, fields, gRecaptchaResponse, qqCaptchaTicket, qqCaptchaRandstr, hCaptchaResponse, preventWebhook, xPreventWebhook, accessToken);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
verificationurl |
query | string | no | Verification URL for the User which will be included in the Email template.. |
emailtemplate |
query | string | no | Name of the Email template to use for this notification. |
smstemplate |
query | string | no | SMS Template |
nullsupport |
query | boolean | no | Bool flag, if this flag is sent as true then the fields which are send in payload as null then in the profile as well that will be saved as null only |
isvoiceotp |
query | boolean | no | Boolean flag to enforce sending SMS content via Voice. |
fields |
query | string | no | Comma-separated list of profile fields to include in the response. |
g-recaptcha-response |
query | string | no | Google reCAPTCHA response parameter which will be sent to the server for verification. |
qq_captcha_ticket |
query | string | no | QQ reCAPTCHA Response |
qq_captcha_randstr |
query | string | no | QQ reCAPTCHA Response |
h-captcha-response |
query | string | no | hCaptcha Response |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
access_token |
query | string | no | Access Token of the User |
object as application/json.
UpdateByTokenResponse
PUT /identity/v2/auth/consent
Update Consent Profile
Updates the consent profile using an Access Token.
public static void callUpdateConsentByAccessToken(LoginRadiusClient client) {
ConsentUpdate consentUpdate = new ConsentUpdate().consents("<consents>"); //Required
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
try {
var response = client.user.updateConsentByAccessToken(consentUpdate, accessToken, preventWebhook, xPreventWebhook);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
access_token |
query | string | no | Access Token of the User |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
ConsentUpdate as application/json.
ConsentProfile
PUT /identity/v2/auth/email
Verify Email
Verifies the User's Email when OTP Email Verification is enabled, requiring LoginRadius activation.
public static void callUpdateEmail(LoginRadiusClient client) {
String url = "<url>"; //Optional
String welcomeemailtemplate = "<welcomeemailtemplate>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
String gRecaptchaResponse = "<gRecaptchaResponse>"; //Optional
String gRecaptchaResponse2 = "<gRecaptchaResponse2>"; //Optional
String qqCaptchaTicket = "<qqCaptchaTicket>"; //Optional
String qqCaptchaRandstr = "<qqCaptchaRandstr>"; //Optional
String hCaptchaResponse = "<hCaptchaResponse>"; //Optional
UpdateEmailRequest updateEmailRequest = new UpdateEmailRequest().otp("<otp>"); //Optional
try {
var response = client.user.updateEmail(url, welcomeemailtemplate, preventWebhook, xPreventWebhook, gRecaptchaResponse, gRecaptchaResponse2, qqCaptchaTicket, qqCaptchaRandstr, hCaptchaResponse, updateEmailRequest);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
url |
query | string | no | URL to log the main domain in the database. |
welcomeemailtemplate |
query | string | no | Welcome Email Template |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
g-recaptcha-response |
query | string | no | Google reCAPTCHA response parameter which will be sent to the server for verification. |
g_recaptcha_response |
query | string | no | Google reCAPTCHA Response |
qq_captcha_ticket |
query | string | no | QQ reCAPTCHA Response |
qq_captcha_randstr |
query | string | no | QQ reCAPTCHA Response |
h-captcha-response |
query | string | no | hCaptcha Response |
object as application/json.
object
PUT /identity/v2/auth/phone/otp
Verify Phone
Validates the verification code sent to confirm a User's Phone number when the User is logged in and provides an Access Token.
public static void callVerifyPhoneOtp(LoginRadiusClient client) {
VerifyOtpPhoneModel verifyOtpPhoneModel = new VerifyOtpPhoneModel().phone("<phone>"); //Required
String otp = "<otp>"; //Optional
String smstemplate = "<smstemplate>"; //Optional
String gRecaptchaResponse = "<gRecaptchaResponse>"; //Optional
String gRecaptchaResponse2 = "<gRecaptchaResponse2>"; //Optional
String qqCaptchaTicket = "<qqCaptchaTicket>"; //Optional
String qqCaptchaRandstr = "<qqCaptchaRandstr>"; //Optional
String hCaptchaResponse = "<hCaptchaResponse>"; //Optional
String accessToken = "<accessToken>"; //Optional
Boolean xPreventWebhook = true; //Optional
Boolean preventWebhook = true; //Optional
try {
var response = client.user.verifyPhoneOtp(verifyOtpPhoneModel, otp, smstemplate, gRecaptchaResponse, gRecaptchaResponse2, qqCaptchaTicket, qqCaptchaRandstr, hCaptchaResponse, accessToken, xPreventWebhook, preventWebhook);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
otp |
query | string | no | One-time passcode sent to the User's Email. |
smstemplate |
query | string | no | SMS Template |
g-recaptcha-response |
query | string | no | Google reCAPTCHA response parameter which will be sent to the server for verification. |
g_recaptcha_response |
query | string | no | Google reCAPTCHA Response |
qq_captcha_ticket |
query | string | no | QQ reCAPTCHA Response |
qq_captcha_randstr |
query | string | no | QQ reCAPTCHA Response |
h-captcha-response |
query | string | no | hCaptcha Response |
access_token |
query | string | no | Access Token of the User |
X-PreventWebhook |
header | boolean | no | When true, suppresses webhook events for this operation. |
prevent_webhook |
query | boolean | no | When true, suppresses webhook events for this operation. |
VerifyOtpPhoneModel as application/json.
object