---
title: "POST /BatchDeleteCodeReviews"
method: POST
path: "/BatchDeleteCodeReviews"
---

# POST /BatchDeleteCodeReviews

`POST /BatchDeleteCodeReviews`

Deletes one or more code reviews from an agent space.

## Request body

- object
  - `codeReviewIds` String[], required — List of code review IDs.
  - `agentSpaceId` string, required — The unique identifier of the agent space that contains the code reviews to delete.

## Response `200`

Success

- BatchDeleteCodeReviewsOutput — Output for the BatchDeleteCodeReviews operation.
  - `deleted` String[] — The list of identifiers of the code reviews that were successfully deleted.
  - `failed` DeleteCodeReviewFailure[] — The list of code reviews that failed to delete, including the reason for each failure.
    - `codeReviewId` string — The unique identifier of the code review that failed to delete.
    - `reason` string — The reason the code review failed to delete.

---

[API](https://skmtc.net/aws/apis/securityagent.md) · [All operations](https://skmtc.net/aws/apis/securityagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/securityagent/versions/cad56717d636/schema)
