Create a draft policy from a library template
POST
/v1/policies/templates/{templateId}/add
const url = 'https://api.varman.io/v1/policies/templates/example/add';const options = {method: 'POST', headers: {'X-API-Key': '<X-API-Key>'}};
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/policies/templates/example/add \ --header 'X-API-Key: <X-API-Key>'Create a draft policy from a library template in Varman. Create, version, publish, export, map, and improve compliance policies with AI-assisted drafting and approval workflows.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”templateId
required
string
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Organization ID (required for session auth, optional for API key auth)