Remove an ISMS document's uploaded file
curl --request DELETE \
--url https://api.trycomp.ai/v1/isms/documents/{id}/upload \
--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}/upload', 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}/upload"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)ISMS
Remove an ISMS document's uploaded file | Comp AI API
Detaches the pending uploaded file from an ISMS document’s draft. Already-published versions keep their own copy and stay downloadable. Returns the.
DELETE
/
v1
/
isms
/
documents
/
{id}
/
upload
Remove an ISMS document's uploaded file
curl --request DELETE \
--url https://api.trycomp.ai/v1/isms/documents/{id}/upload \
--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}/upload', 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}/upload"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)Was this page helpful?

