Risk Relationships
Add Threat to Risk
Use this API to add or replace a threat on a risk.
🗒 Things to Know
- If a threat was previously assigned to the risk, that threat will be replaced with the new specified threat after calling this API.
post/api/risk/v2/risks/{riskId}/threats
Path parameters
riskIdstring uuid required
Unique identifier of the risk
Request body
Example request
{
"threatId": "123e4567-e89b-12d3-a456-426614174000"
}Response
Threat added or replaced successfully