---
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.

---

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