v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1445247249.8 KB

Deletes a report group. Before you delete a report group, you must delete its reports.

post/#X-Amz-Target=CodeBuild_20161006.DeleteReportGroup

Headers

X-Amz-Target'CodeBuild_20161006.DeleteReportGroup' required

Request body

arnstring required

The ARN of the report group to delete.

deleteReportsboolean
<p>If <code>true</code>, deletes any reports that belong to a report group before deleting the report group. </p> <p>If <code>false</code>, you must delete any reports in the report group. Use <a href="https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportsForReportGroup.html">ListReportsForReportGroup</a> to get the reports in a report group. Use <a href="https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReport.html">DeleteReport</a> to delete the reports. If you call <code>DeleteReportGroup</code> for a report group that contains one or more reports, an exception is thrown. </p>

Response

Success

DeleteReportGroupOutput required