Update a custom framework
curl --request PATCH \
--url https://api.trycomp.ai/v1/frameworks/{id}/custom \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "Internal Controls",
"description": "<string>"
}
'const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Internal Controls', description: '<string>'})
};
fetch('https://api.trycomp.ai/v1/frameworks/{id}/custom', 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}/custom"
payload = {
"name": "Internal Controls",
"description": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Frameworks
Update a custom framework | Comp AI API
Update the name and/or description of an organization’s custom framework. Only custom frameworks are editable; platform frameworks return 400.
PATCH
/
v1
/
frameworks
/
{id}
/
custom
Update a custom framework
curl --request PATCH \
--url https://api.trycomp.ai/v1/frameworks/{id}/custom \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "Internal Controls",
"description": "<string>"
}
'const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Internal Controls', description: '<string>'})
};
fetch('https://api.trycomp.ai/v1/frameworks/{id}/custom', 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}/custom"
payload = {
"name": "Internal Controls",
"description": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Was this page helpful?

