Get the audit trails for an organization
The audit trails are served in batches of less than 100 records at the time and a continuation token.
GET
/api/v1.0/organizations/{organizationGuid}/audit-trails
curl \
-X GET https://setup.adra.com/api/v1.0/organizations/{organizationGuid}/audit-trails
Response examples (200)
{
"responseData": [
{
"id": "7d94882a-ee8e-4741-b461-4fdbc731362b",
"diff": [
{
"prop": "Domain",
"newVal": "updatedDomain@tenant.com",
"oldVal": null
},
{
"prop": "Name",
"newVal": "The Organization",
"oldVal": "Demo Organization"
}
],
"author": {
"authorId": "bf5c2988-f6d8-4108-87b1-e1bdcf296d33",
"ipAddress": "213.52.72.214",
"authorName": "Anders Reyes",
"authorOrgId": "e6c779ff-9401-4915-b74d-ca4b937c7de5",
"authorOrgName": "My Organization"
},
"message": {
"logMessage": "Organization updated",
"logMessageKey": "OrganizationUpdated",
"logMessageParams": ""
},
"newValue": null,
"oldValue": null,
"timestamp": "2024-03-15T14:48:51+00:00",
"auditEvent": "CoreEntityChange",
"coreEntity": "Organization",
"auditAction": "Updated",
"auditEntity": "Organization",
"coreEntityId": "7eb6c145-b6d2-4d67-8e20-6f87ca942b7f",
"organizationId": "7eb6c145-b6d2-4d67-8e20-6f87ca942b7f",
"contractedEntity": null,
"contractedEntityId": null
}
],
"continuationToken": "eyJWIjoyLCJSaWQiOiJ6Njk5QUx5UlYzbz0iLCJDb250aW51YXRpb24iOlt7IkZlZWRSYW5nZSI6eyJ0eXBlIjoiTG9naWNhbCBQYXJ0aXRpb24gS2V5IiwidmFsdWUiOiJbXCI3ZWI2YzE0NS1iNmQyLTRkNjctOGUyMC02Zjg3Y2E5NDJiN2ZcIl0ifSwiU3RhdGUiOnsidHlwZSI6ImNvbnRpbnVhdGlvbiIsInZhbHVlIjoiXCIxOTUxOTZcIiJ9fV19"
}
Response examples (404)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (401)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (403)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (400)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (default)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}