Remove a control mapping from an ISMS document
curl --request DELETE \
--url https://api.trycomp.ai/v1/isms/documents/{id}/controls/{controlId} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/isms/documents/{id}/controls/{controlId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/isms/documents/{id}/controls/{controlId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)ISMS
Remove a control mapping from an ISMS document | Comp AI API
Removes the mapping between an ISMS document and one organization control. Takes the control id, not the link row id. The control itself is not deleted.
DELETE
/
v1
/
isms
/
documents
/
{id}
/
controls
/
{controlId}
Remove a control mapping from an ISMS document
curl --request DELETE \
--url https://api.trycomp.ai/v1/isms/documents/{id}/controls/{controlId} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/isms/documents/{id}/controls/{controlId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/isms/documents/{id}/controls/{controlId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)Was this page helpful?

