Remove context from a pentest finding
curl --request DELETE \
--url https://api.trycomp.ai/v1/pentest-finding-contexts/{issueId} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/pentest-finding-contexts/{issueId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/pentest-finding-contexts/{issueId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)Security Penetration Tests
Remove context from a pentest finding | Comp AI API
Deletes the customer context note attached to a pentest finding so future scans of the target no longer receive it from the testing agent briefing.
DELETE
/
v1
/
pentest-finding-contexts
/
{issueId}
Remove context from a pentest finding
curl --request DELETE \
--url https://api.trycomp.ai/v1/pentest-finding-contexts/{issueId} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/pentest-finding-contexts/{issueId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/pentest-finding-contexts/{issueId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)Was this page helpful?

