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

# Set silent PR scans

`POST /api/v1/repositories/set-silent-pr-scans`

## Request

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

Enable or disable silent PR scans (run scans in the background without posting results to the VCS)

## Request body

- object
  - `organizationId` string, required: Organization containing the repository
  - `repositoryId` string, required: Repository to update
  - `silentPrScansEnabled` boolean, required: Whether to enable silent PR scanning mode

## 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)
