v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
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

threatIdstring uuid

Unique identifier of the threat to be added. If null, any existing threat will be removed from the risk.

Example request

{
  "threatId": "123e4567-e89b-12d3-a456-426614174000"
}

Response

Threat added or replaced successfully