Decline an ISMS document
curl --request POST \
--url https://api.trycomp.ai/v1/isms/documents/{id}/decline \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/isms/documents/{id}/decline', 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}/decline"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)ISMS
Decline an ISMS document | Comp AI API
Rejects an ISMS document that is pending review, setting its status to declined without creating a version. Only the assigned approver can call it, using a.
POST
/
v1
/
isms
/
documents
/
{id}
/
decline
Decline an ISMS document
curl --request POST \
--url https://api.trycomp.ai/v1/isms/documents/{id}/decline \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/isms/documents/{id}/decline', 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}/decline"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Was this page helpful?

