Link (clone) existing requirements from another framework into this one
curl --request POST \
--url https://api.trycomp.ai/v1/frameworks/{id}/requirements/link \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"requirementIds": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({requirementIds: ['<string>']})
};
fetch('https://api.trycomp.ai/v1/frameworks/{id}/requirements/link', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/frameworks/{id}/requirements/link"
payload = { "requirementIds": ["<string>"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Frameworks
Link (clone) existing requirements from | Comp AI API
Link (clone) existing requirements from another framework into this one in Comp AI. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances.
POST
/
v1
/
frameworks
/
{id}
/
requirements
/
link
Link (clone) existing requirements from another framework into this one
curl --request POST \
--url https://api.trycomp.ai/v1/frameworks/{id}/requirements/link \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"requirementIds": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({requirementIds: ['<string>']})
};
fetch('https://api.trycomp.ai/v1/frameworks/{id}/requirements/link', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/frameworks/{id}/requirements/link"
payload = { "requirementIds": ["<string>"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Was this page helpful?

