Retrieve a filtered list of audit trail events
POST/v1/audit-trail
Please ensure to change the region in the URL to match your account's region.
Request
- application/json
Body
Possible values: <= 500
Default value: 500
Maximum number of results to return.
Possible values: <= 2147483647
Of the results found, the first result to return.
auditEventUser object
ID of the user or token
First and last name of the user, or name of the token
If this user or token has been deleted, true
. Otherwise, false
.
If this is a token, true
. If this is a user, false
.
Code for the event type
Starting timedate, as Unix epoch milliseconds.
Ending timedate, as Unix epoch milliseconds.
To sort results in descending order, true
. For ascending order, false
.
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
Possible values: <= 500
The number of results requested
Possible values: <= 2147483647
Of the results found, the first result returned.
Possible values: <= 500
Total number of results that met the search criteria.
results object[]
auditEventUser object
ID of the user or token
First and last name of the user, or name of the token
If this user or token has been deleted, true
. Otherwise, false
.
If this is a token, true
. If this is a user, false
.
Date of the audit event, as Unix epoch milliseconds
The event type
IP address of the client device that generated the event
Geographical location of the device that made the request
extraDataList object[]
Name of the field
Original value of the field
New value of the field
auditEventUsersList object[]
ID of the user or token
First and last name of the user, or name of the token
If this user or token has been deleted, true
. Otherwise, false
.
If this is a token, true
. If this is a user, false
.
auditEventTypesList object[]
Code for the event type
Description of the event type
{
"pageSize": 50,
"from": 0,
"total": 0,
"results": [
{
"auditEventUser": {
"id": 5374,
"fullName": "Larry Appleton",
"deleted": false,
"userToken": true
},
"date": 1527168668,
"auditEventTypeTitle": "Admin created a sub account",
"ip": "52.203.237.249",
"geoLocation": "New York - USA",
"extraDataList": [
{
"fieldName": "Account name",
"oldValue": "Test account",
"newValue": "Apache access logs"
}
],
"valid": true
}
],
"auditEventUsersList": [
{
"id": 5374,
"fullName": "Larry Appleton",
"deleted": false,
"userToken": true
}
],
"auditEventTypesList": [
{
"auditEventType": "Added user",
"auditEventTypeTitle": "Added user"
}
]
}