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)Authorizations
API key for authentication
Headers
Organization ID (required for session auth, optional for API key auth)
Path Parameters
Query Parameters
Penetration test run ID the finding belongs to. Finding ids are only unique within a run, so this is required when more than one run has a note on this issue id; omit it only when a single note matches.
Response
Context note deleted
Was this page helpful?

