---
title: "Get Audit Log"
method: GET
path: "/partner/customer/{customerUserId}/audit/{date}"
tags: ["Audit Log"]
---

# Get Audit Log

`GET /partner/customer/{customerUserId}/audit/{date}`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/partner/customer/{customerUserId}/audit/{date}`
- Auth: one of:
  - API key in header `AccessKey`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bunny/apis/bunny-net-partner-portal-api/docs/partner/customer/:customerUserId/audit/:date/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the audit log for one of the partner's customers. ResourceOwner identifies the customer each entry belongs to.

## Path parameters

- `customerUserId` string, required
- `date` string, date-time, required

## Query parameters

- `Product` string[], nullable
- `ResourceType` string[], nullable
- `ResourceId` string[], nullable
- `ActorId` string[], nullable
- `Order` 'Ascending' | 'Descending'
- `ContinuationToken` string, nullable
- `Limit` integer

## Response `200`

The list of audit log entries.

- GetUserAuditLogResponse
  - `Logs` UserAuditLog[], nullable
    - `Timestamp` string, date-time
    - `Product` string, nullable
    - `ResourceType` string, nullable
    - `ResourceId` string, nullable
    - `ResourceOwner` string, nullable
    - `Action` string, nullable
    - `ActorId` string, nullable
    - `ActorType` string, nullable
    - `Diff` string, nullable
  - `HasMoreData` boolean
  - `ContinuationToken` string, nullable
  - `StartToken` string, nullable

## Other responses

- `400`: The request was invalid.
- `401`: The request authorization failed.
- `403`: Authenticated user is not a reseller or MSP partner, or the customer is not assigned to this partner.

---

[API](https://skmtc.dev/bunny/apis/bunny-net-partner-portal-api.md) - [All operations](https://skmtc.dev/bunny/apis/bunny-net-partner-portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/bunny-net-partner-portal-api/revisions/daf325756630?raw)
