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
Request
- Base URLhttps://hostname
- URLhttps://hostname/api/risk/v2/risks/{riskId}/threats
- AuthOAuth 2Client credentialsToken URL: https://{hostname}/api/access/v1/oauth/token scopes: INTEGRATION, ITRM
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
Changes
No recorded changes to this operation across all 1 revision of this API.