v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Audit Records

Get Audit Records for User's Profile

Use this API to retrieve a list of changes made to a user's profile for audit purposes. The response will include a history of changes made to the user's details, roles, and organizations.

get/api/audit/v1/users/{userId}/activities

Path parameters

userIdstring uuid required
Example:c01233a5-482c-4274-8f88-15e24c1c96a4

userId can be retireved using the Retrieve list of Users API

Query parameters

includeChildObjectsboolean

Whether to include child object activities

pageinteger

Results page to be retrieved (0..N). Example- '?page=1

sizeinteger

Number of records per page (1…N).

Response

OK

emptyboolean

Flag to check if the result list is empty or not

firstboolean

Flag to check if this is the first page

lastboolean

Flag to check if this is the last page

numberinteger

Current page number (0-based)

numberOfElementsinteger

Number of elements in the current page

sizeinteger

Page size

totalElementsinteger

Total number of elements across all pages

totalPagesinteger

Total number of pages

pageableobject

Pagination information with page number (0-based, min: 0) and page size (min: 1)

Example response

{
  "content": [
    {
      "name": "Test User6",
      "email": "tu7@rootorg.com",
      "event": "User Edit",
      "fieldName": "Email Address",
      "oldValue": "tu6@rootorg.com",
      "newValue": "tu7@rootorg.com",
      "method": "User Provisioning",
      "updatedBy": "OneTrust User",
      "date": "2024-09-13T23:02:21.659738Z"
    }
  ],
  "numberOfElements": 1,
  "size": 20,
  "totalElements": 1,
  "totalPages": 1,
  "pageable": {
    "offset": 0,
    "pageNumber": 0,
    "pageSize": 20,
    "paged": true,
    "sort": [
      {
        "ascending": true,
        "descending": false,
        "direction": "ASC",
        "ignoreCase": false,
        "nullHandling": "NATIVE",
        "property": "name"
      }
    ],
    "unpaged": false
  }
}