Enable/disable a custom framework on the trust portal and set its status
curl --request PUT \
--url https://api.trycomp.ai/v1/trust-portal/custom-frameworks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"customFrameworkId": "<string>",
"enabled": true
}
'const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({customFrameworkId: '<string>', enabled: true})
};
fetch('https://api.trycomp.ai/v1/trust-portal/custom-frameworks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/custom-frameworks"
payload = {
"customFrameworkId": "<string>",
"enabled": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Trust Portal
Enable/disable a custom framework on the | Comp AI API
Enable/disable a custom framework on the trust portal and set its status in Comp AI. Configure the live Trust Center, custom domain, public overview, FAQs.
PUT
/
v1
/
trust-portal
/
custom-frameworks
Enable/disable a custom framework on the trust portal and set its status
curl --request PUT \
--url https://api.trycomp.ai/v1/trust-portal/custom-frameworks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"customFrameworkId": "<string>",
"enabled": true
}
'const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({customFrameworkId: '<string>', enabled: true})
};
fetch('https://api.trycomp.ai/v1/trust-portal/custom-frameworks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/custom-frameworks"
payload = {
"customFrameworkId": "<string>",
"enabled": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Authorizations
API key for authentication
Body
application/json
At least one of enabled or status must be provided.
Response
200 - undefined
Was this page helpful?

