Link existing org controls to a requirement
POST
/v1/frameworks/{id}/requirements/{requirementKey}/controls/link
const url = 'https://api.varman.io/v1/frameworks/example/requirements/example/controls/link';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"controlIds":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/frameworks/example/requirements/example/controls/link \ --header 'Content-Type: application/json' \ --data '{ "controlIds": [ "example" ] }'Link existing org controls to a requirement in Varman. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
requirementKey
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
controlIds
required
Existing org Control IDs to map to the requirement on this framework instance
Array<string>
Example generated
{ "controlIds": [ "example" ]}