Threat Model

Delete a custom threat-model section

Delete a custom (user-titled) threat-model section. Cannot delete fixed sections — the agent owns their lifecycle and the editor renders all fixed slots whether their content is empty or not; to clear a fixed section, call threatModel.updateFixedSection with empty content. Requires ORG_EDIT_SAST_CONFIG.

post/api/v2/threatModel/deleteCustomSection

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring

Organization that owns the threat model.

sectionIdstring required

cuid of the ThreatModelCustomSection to delete.

Response

Custom section deleted

successboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.