REST API - Scans

Stop a running scan. Members can stop pentests they started and any PR scan; admins can stop any scan.

Changed on
post/scans/{id}/stop

Request

  • Base URL
    https://api.hacktron.ai/v1
  • URL
    https://api.hacktron.ai/v1/scans/{id}/stop
  • Auth
    API key in header X-Api-Key

Path parameters

idstring required

Response

idstring required
task_idstring required
status'pending' | 'running' | 'completed' | 'failed' | 'stopped' | 'cancelled' | 'skipped' | 'pending_verification' | 'pending_triage' | 'draft' | 'estimating' | 'estimated' required
created_atstring required
updated_atstring required

Changes