UpdatePolicySettingInput

UpdatePolicySettingInput

Update the policy setting with the given id. Provide the setting in either standard form (either value (as JSON) or valueSource (as YAML string), or as a calculated setting with inputTemplate (as YAML Nunjucks template) and optional input (as GraphQL query string). Optionally provide precedence, note, validFromTimestamp and validToTimestamp

forceBooleanOptional force which allows you to update a policy setting even when guardrails are attached with preview/check/enforce phases
idID!The id of the policy setting to update
noteStringOptional note for the policy setting, as a string
precedencePolicySettingPrecedenceOptional precedence of the policy setting. Defaults to REQUIRED if not specified
templateStringOptional template of a calculated policy setting, as a YAML Nunjucks string
templateInputScalarOptional Graphql templateInput query of a calculated policy setting, as a string, or array of strings
validFromTimestampStringOptional validFromTimestamp for the policy setting, as an ISO string
validToTimestampStringOptional validToTimestamp for the policy setting, as an ISO string
valueJSONOptional value of a standard policy setting, as a JSON object
valueSourceStringOptional valueSource of a standard policy setting, as a YAML string