Roll back a framework sync operation
curl --request POST \
--url https://api.trycomp.ai/v1/frameworks/{id}/rollback \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"syncOperationId": "fso_abc123def456"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({syncOperationId: 'fso_abc123def456'})
};
fetch('https://api.trycomp.ai/v1/frameworks/{id}/rollback', 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}/rollback"
payload = { "syncOperationId": "fso_abc123def456" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Frameworks
Roll back a framework sync operation | Comp AI API
Roll back a framework sync operation in Comp AI. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
POST
/
v1
/
frameworks
/
{id}
/
rollback
Roll back a framework sync operation
curl --request POST \
--url https://api.trycomp.ai/v1/frameworks/{id}/rollback \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"syncOperationId": "fso_abc123def456"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({syncOperationId: 'fso_abc123def456'})
};
fetch('https://api.trycomp.ai/v1/frameworks/{id}/rollback', 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}/rollback"
payload = { "syncOperationId": "fso_abc123def456" }
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?

