Threat Model
Create or update a custom threat-model section
Create or update a custom (user-titled) threat-model section. Custom sections render after the fixed sections in the agent prompt's <threat_model> block and are useful for codebase-specific notes that don't fit the standard taxonomy (e.g. 'Vendor Integrations', 'Compliance Notes'). Pass id to update an existing section; omit id to create a new one. Sections render in creation order — there is no user-controlled reordering. Requires ORG_EDIT_SAST_CONFIG.
post/api/v2/threatModel/upsertCustomSection
Request
- Base URLhttps://zeropath.com
- AuthAPI key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret
Request body
Response
Custom section created or updated
Changes
No recorded changes to this operation across all 1 revision of this API.