5 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.
POST /identity/v2/auth/customobject
Create Custom Object
Creates a Custom Object associated with the authenticated User using an Access Token.
public static void callCreateCustomObjectByToken(LoginRadiusClient client) {
Map<String, Object> requestBody = new HashMap<>(); //Required
String customobjectid = "<customobjectid>"; //Optional
String objectname = "<objectname>"; //Optional
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
try {
var response = client.customObject.createCustomObjectByToken(requestBody, customobjectid, objectname, 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 |
|---|---|---|---|---|
customobjectid |
query | string | no | Unique identifier for the Custom Object record |
objectname |
query | string | no | Name of the Custom Object to be used in the request. The name should match the Custom Object configured in your LoginRadius account. |
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. |
CustomObjectRequest as application/json.
CustomObjectResponseModel
DELETE /identity/v2/auth/customobject/{objectrecordid}
Delete Custom Object by ID
Deletes the Custom Object associated with the specified User using an Access Token and record ID.
public static void callDeleteCustomObjectByTokenAndRecordId(LoginRadiusClient client) {
String objectrecordid = "<objectrecordid>"; //Required
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
String objectname = "<objectname>"; //Optional
String customobjectid = "<customobjectid>"; //Optional
try {
var response = client.customObject.deleteCustomObjectByTokenAndRecordId(objectrecordid, accessToken, preventWebhook, xPreventWebhook, objectname, customobjectid);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
objectrecordid |
path | string (uuid) | yes | Unique identifier for the Custom Object record. The ID is used to target a specific Custom Object. |
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. |
objectname |
query | string | no | Name of the Custom Object to be used in the request. The name should match the Custom Object configured in your LoginRadius account. |
customobjectid |
query | string | no | Unique identifier for the Custom Object record |
IsDeleted
GET /identity/v2/auth/customobject
Retrieve Custom Objects
Retrieves Custom Objects associated with the authenticated User using an Access Token.
public static void callGetCustomObjectByToken(LoginRadiusClient client) {
String customobjectid = "<customobjectid>"; //Optional
String objectname = "<objectname>"; //Optional
String accessToken = "<accessToken>"; //Optional
try {
var response = client.customObject.getCustomObjectByToken(customobjectid, objectname, accessToken);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
customobjectid |
query | string | no | Unique identifier for the Custom Object record |
objectname |
query | string | no | Name of the Custom Object to be used in the request. The name should match the Custom Object configured in your LoginRadius account. |
access_token |
query | string | no | Access Token of the User |
CustomObjectsResponseModel
GET /identity/v2/auth/customobject/{objectrecordid}
Retrieve Custom Object by ID
Retrieves the Custom Object associated with the specified User using an Access Token and record ID.
public static void callGetCustomObjectByTokenAndRecordId(LoginRadiusClient client) {
String objectrecordid = "<objectrecordid>"; //Required
String accessToken = "<accessToken>"; //Optional
String objectname = "<objectname>"; //Optional
String customobjectid = "<customobjectid>"; //Optional
try {
var response = client.customObject.getCustomObjectByTokenAndRecordId(objectrecordid, accessToken, objectname, customobjectid);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
objectrecordid |
path | string (uuid) | yes | Unique identifier for the Custom Object record. The ID is used to target a specific Custom Object. |
access_token |
query | string | no | Access Token of the User |
objectname |
query | string | no | Name of the Custom Object to be used in the request. The name should match the Custom Object configured in your LoginRadius account. |
customobjectid |
query | string | no | Unique identifier for the Custom Object record |
CustomObjectResponseModel
PUT /identity/v2/auth/customobject/{objectrecordid}
Update Custom Object by ID
Updates a Custom Object associated with the authenticated User using an Access Token and record ID.
public static void callUpdateCustomObjectByTokenAndRecordId(LoginRadiusClient client) {
String objectrecordid = "<objectrecordid>"; //Required
String updateType = "<updateType>"; //Required
Map<String, Object> requestBody = new HashMap<>(); //Required
String objectname = "<objectname>"; //Optional
String accessToken = "<accessToken>"; //Optional
Boolean preventWebhook = true; //Optional
Boolean xPreventWebhook = true; //Optional
String customobjectid = "<customobjectid>"; //Optional
try {
var response = client.customObject.updateCustomObjectByTokenAndRecordId(objectrecordid, updateType, requestBody, objectname, accessToken, preventWebhook, xPreventWebhook, customobjectid);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
objectrecordid |
path | string (uuid) | yes | Unique identifier for the Custom Object record. The ID is used to target a specific Custom Object. |
objectname |
query | string | no | Name of the Custom Object to be used in the request. The name should match the Custom Object configured in your LoginRadius account. |
updateType |
query | string | yes | The type of update to be performed on the Custom Object. This parameter is used to specify whether the update should be a full update or a partial update. |
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. |
customobjectid |
query | string | no | Unique identifier for the Custom Object record |
CustomObjectRequest as application/json.
CustomObjectResponseModel