Skip to content

Set controls a KPI gives evidence for

PUT
/v1/kpis/{id}/controls
curl --request PUT \
--url https://api.varman.io/v1/kpis/example/controls \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "controlIds": [ "example" ] }'

Replaces the controls linked to a KPI. Linked KPIs show on the control page as measurement evidence for its requirements.

id
required
string
X-Organization-Id
string
Media typeapplication/json
object
controlIds
required

Control ids. Replaces the current links.

Array<string>

Example generated

{
"controlIds": [
"example"
]
}