Link required document types to a control
POST
/v1/controls/{id}/document-types/link
const url = 'https://api.varman.io/v1/controls/example/document-types/link?frameworkInstanceId=example';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"formTypes":["board_meeting"]}'};
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/controls/example/document-types/link?frameworkInstanceId=example' \ --header 'Content-Type: application/json' \ --data '{ "formTypes": [ "board_meeting" ] }'Link required document types to a control in Varman. Manage controls, map them to policies, tasks, framework requirements, and evidence document types, and track implementation progress.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Query Parameters
Section titled “Query Parameters”frameworkInstanceId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
formTypes
required
Evidence form types to require for this control
Array<string>