---
title: "Delete Reference reports"
method: POST
path: "/v1/code-references/delete-reports"
tags: ["Code References"]
---

# Delete Reference reports

`POST /v1/code-references/delete-reports`

## Request body

- DeleteRepositoryReportsRequest
  - `configId` string, uuid, required — The Config's identifier from where the reports should be deleted.
  - `repository` string, required — The source control repository which's reports should be deleted.
  - `branch` string, nullable — If it's set, only this branch's reports belonging to the given repository will be deleted.
  - `settingId` integer, nullable — If it's set, only this setting's reports belonging to the given repository will be deleted.

## Response `200`

OK

## Other responses

- `400` — Bad request.
- `404` — Not found.
- `429` — Too many requests. In case of the request rate exceeds the rate limits.

---

[API](https://skmtc.net/configcat/apis/configcat-public-management-api.md) · [All operations](https://skmtc.net/configcat/apis/configcat-public-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/configcat/configcat-public-management-api/versions/6b4d53bc1455/schema)
