Delete a target and its scans
cURL
curl --request DELETE \ --url https://app.pentest-tools.com/api/v2/targets/{id} \ --header 'Authorization: Bearer <token>'
{ "status": 401, "message": "No API key specified" }
Use the "API key" from the profile page as the token
id of target to get
Deleted successfully
Was this page helpful?