---
title: "Archive call logs"
method: DELETE
path: "/log"
tags: ["calls"]
---

# Archive call logs

`DELETE /log`

Archives call logs associated with specified channels for the authenticated user's team. Optionally archives CDR (Call Detail Record) data as well.

**Permission:** No specific permission required. A valid API key is sufficient.

**Monitoring:** No impact.

## Request body

- object
  - `channel_ids` string[], required — List of channel IDs to archive logs for.
  - `archive_cdr` boolean, required — Flag indicating if CDRs should be archived as well.

## Response `200`

Successful operation — the specified call logs have been archived.

## Other responses

- `400` — Bad request — invalid or improperly formatted input data (e.g. missing channel_ids).
- `401` — Unauthorized — missing, invalid, or expired API key.
- `403` — Forbidden — authenticated request refused by the upstream forwarded service.
- `404` — Not found — some of the specified channels could not be located.
- `500` — Internal server error — a problem occurred while archiving or deleting logs.

## Changes

- **2026-08-25** `241a8d30fa9b` — 4 info
  - api operation id `archiveCallLogs` was added
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `500` status

[Change history](https://skmtc.dev/ringover/apis/ringover-public-api/changes/log/delete.md)

---

[API](https://skmtc.dev/ringover/apis/ringover-public-api.md) · [All operations](https://skmtc.dev/ringover/apis/ringover-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ringover/ringover-public-api/revisions/241a8d30fa9b/schema)
