---
title: "Set PR scan summaries"
method: POST
path: "/api/v1/repositories/set-pr-scan-summaries"
tags: ["Repositories"]
---

# Set PR scan summaries

`POST /api/v1/repositories/set-pr-scan-summaries`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/repositories/set-pr-scan-summaries`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Enable or disable generation of summary reports for PR scans

## Request body

- object
  - `organizationId` string, required: Organization containing the repository
  - `repositoryId` string, required: Repository to update
  - `prScanSummariesEnabled` boolean, required: Whether to enable PR scan summary generation

## Response `200`

Successful response

- object
  - `ok` boolean

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api/revisions/126e9c80ba0d?raw)
