Skip to main content
PATCH
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint. Include as Authorization: Bearer <token>.

Path Parameters

repositoryId
string<uuid>
required

Body

application/json
supply_chain_enabled
boolean
supply_chain_pr_checks_enabled
boolean
supply_chain_policy_mode
enum<string>
Available options:
monitor,
comment,
block

Response

Updated repository supply-chain policy fields.

The response is of type object.