Skip to content

Return Audits

Request

Returns paginated audits for the current customer with optional filters.

Security
bearerToken
Query
pageinteger

Starting page number.

Default:1
pageSizeinteger

Specifies the number of items to be displayed per page. Allowed values are between 1 and 100.

categoriesArray of strings

Filter audits by category. Allowed value is userConfiguration.

Items Value:"userConfiguration"
subcategoriesArray of integers, (int32)

Filter audits by subcategory identifiers.

actionsArray of strings

Filter audits by action. Allowed values are permissionsChanged and roleChanged.

Items Enum:"permissionsChanged""roleChanged"
userIdsArray of integers, (int32)

Filter audits by the identifiers of users who performed the actions.

startDatestring, (date)

Inclusive start date used to filter audits.

endDatestring, (date)

Inclusive end date used to filter audits.

teamIdsArray of strings, (uuid)

Filter audits by team identifiers (UUID).

Headers
X-Team-Idstring

Optional team selector for scoping the history. Leave empty for your default team where applicable.

curl -i -X GET \
  'https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/authorization/audits?page=1&pageSize=0&categories=userConfiguration&subcategories=0&actions=permissionsChanged&userIds=0&startDate=2019-08-24&endDate=2019-08-24&teamIds=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'X-Team-Id: string'

Responses

Success. Returns a paginated list of authorization audits.

Bodyapplication/json
itemsArray of objects(AuthorizationAuditListItem)

Audit entries for the current page.

countinteger, (int32)

Total number of matching audit records.

Response
{ "items": [ { … } ], "count": 0 }