delete_target
Remove a target from Intruder.IO by specifying its ID. This action permanently deletes the selected target from the security testing platform.
Instructions
Delete a target.
Args:
target_id: The ID of the target to delete
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | Yes |
Implementation Reference
- intruder_mcp/server.py:193-202 (handler)The MCP tool handler for 'delete_target', registered via @mcp.tool() decorator. It calls the API client to delete the target by ID and returns a confirmation message.@mcp.tool() async def delete_target(target_id: str) -> str: """ Delete a target. Args: target_id: The ID of the target to delete """ api.delete_target(target_id) return f"Deleted target {target_id}"
- intruder_mcp/api_client.py:195-196 (helper)Supporting method in IntruderAPI class that sends HTTP DELETE request to the Intruder API to delete the specified target.def delete_target(self, target_id: str) -> None: self.client.delete(f"{self.base_url}/targets/{target_id}/")