---
title: "Import audit logs from replica instances to the primary"
method: POST
path: "/api/v2/audit-logs/import"
tags: ["v2 audit logs"]
---

# Import audit logs from replica instances to the primary

`POST /api/v2/audit-logs/import`

In order to synchronized the audit logs between all RODA instances it is necessary that read-only RODA's send their logs to the read-write RODA.

## Request body

- string, binary

## Response `200`

OK

- GenericOkResponse
  - `timestamp` string
  - `message` string

## Other responses

- `400` — Bad request
- `409` — Already exists

---

[API](https://skmtc.net/keeps/apis/roda-rest-api.md) · [All operations](https://skmtc.net/keeps/apis/roda-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keeps/roda-rest-api/versions/afc3c5bcc0d9/schema)
