Repositories

Set PR scanning

Enable or disable automatic security scanning of pull requests

post/api/v1/repositories/set-pr-scanning

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

prScansEnabledboolean required

Whether to enable automatic PR scanning

Response

Successful response

okboolean

Changes

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