Repositories

Set silent PR scans

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

post/api/v1/repositories/set-silent-pr-scans

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring required

Organization containing the repository

repositoryIdstring required

Repository to update

silentPrScansEnabledboolean required

Whether to enable silent PR scanning mode

Response

Successful response

okboolean

Changes

No recorded changes to this operation across all 1 revision of this API.