Pentests Stop a running pentest
POST
/api/pentests/{pentest_id}/stop

Authentication

Bearer Token (BearerAuth)

Path Parameters

pentest_idstringrequired

Pentest identifier (e.g. covert-nova-tracks)


Headers

X-Target-Serverstringrequired

Internal IP and port of the pt-agent instance (e.g. 10.10.0.26:9741)


Responses

200
Pentest stopped

Response Fields:

  • message (string)

  • pentest_id (string)

  • previous_status (string)

Example:

{
  "message": "string",
  "pentest_id": "string",
  "previous_status": "string"
}