List Custom Objects
Retrieves all Custom Objects associated with the UID.
Retrieves all Custom Objects associated with the UID.
apikey<token>
Tenant API Key for authentication
In: query
apisecret<token>
Tenant API Secret for authentication
In: query
Path Parameters
uid*string
The UID associated with the User
Query Parameters
objectname?string
Name of the Custom Object to be used in the request. The name should match the Custom Object configured in your LoginRadius account.
customobjectid?string
Unique identifier for the Custom Object record
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.loginradius.com/identity/v2/manage/account/43e4417bd2de4a1fa82445274f864203/customobject?objectname=customObjectName1&customobjectid=customObject12"{
"Count": 2,
"data": [
{
"IsActive": true,
"IsDeleted": false,
"CustomObject": {
"firstName": "John",
"lastName": "Doe",
"age": 30
},
"Id": "abc123",
"Uid": "user456",
"DateCreated": "2024-05-28T12:34:56Z",
"DateModified": "2024-05-29T09:10:11Z"
},
{
"IsActive": false,
"IsDeleted": true,
"CustomObject": {
"company": "Acme Corp",
"Role": "Engineer"
},
"Id": "def789",
"Uid": "user789",
"DateCreated": "2024-05-20T08:00:00Z",
"DateModified": "2024-05-21T10:00:00Z"
}
]
}{
"ErrorCode": 1211,
"Message": "The request expiry time has an invalid format",
"Description": "The request expiry time has an invalid format, please use a valid date-time format."
}{
"ErrorCode": 902,
"Message": "The API secret is unauthorized",
"Description": "The provided LoginRadius API secret is invalid or is not authorized, please use a valid or authorized LoginRadius API secret or check the API secret for your LoginRadius account."
}{
"ErrorCode": 1212,
"Message": "The request expiry time is invalid",
"Description": "The request expiry time is invalid, please use a valid request expiry time in order to process this request."
}