scf_update_custom_risk_control
Set or clear the standard's document on a custom risk control link; changing the document clears any accepted exception approval.
Instructions
Set or clear the standard's document on a custom risk's control link (write — editor). A changed document clears an accepted exception's approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | Yes | Organization UUID — obtain from scf_list_organizations | |
| scf_id | Yes | SCF control ID of an existing link — obtain from scf_list_custom_risk_controls | |
| risk_code | Yes | Custom risk code in R-ORG-N format — obtain from scf_list_custom_risks | |
| document_id | Yes | Organisation document whose standard this risk is an exception against (404 if not this org's), or null to clear. Required: the platform refuses a call without it (422) |