Skip to main content

Delete assessment source code

DELETE 

/api/v1/assessments/:assessment_id/source

Permanently delete source code and analysis data for an assessment.

Removes object storage archives (uploaded + merged), the static analysis engine the database document (graph data for SAST, Call Graph, Code Explorer), and assessment source-related fields. Findings and reports are preserved. Only allowed on terminal assessments (completed, failed, rejected).

  • Scope required: assessments:delete + write permission.
  • Rate-limit tier: read/default.
  • Idempotent: a repeat call returns "already deleted".

Request

Responses

Successful Response