v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Risks

Unlink Risks

Use this API to disassociate one or more risks from a target entity.

🗒 Things to Know

  • This operation removes the association between the specified risks and the target entity.
  • The risks themselves are not deleted, only the linkage is removed.
  • Multiple risks can be unlinked in a single request.
post/api/risk/v2/entities/risks/unlink

Request body

riskIdsstring[] required

List of risk Ids that will be linked to or unlinked from the target entity. Must contain at least one valid risk ID

origin'ASSESSMENT' | 'RISK'

origin of the risk

Example request

{
  "riskIds": [
    "123e4567-e89b-12d3-a456-426614174001",
    "987fcdeb-51a2-43d7-9abc-123456789013"
  ],
  "riskSourceInformation": {
    "id": "d974c78a-c2f0-480a-aa27-4d40c44bb890",
    "type": "PIA",
    "sourceType": {
      "id": "3f99b4ac-7c66-45b6-8ff4-63a67a3ec7be",
      "label": "Inventory",
      "translationKey": "OBJ.Objective",
      "riskType": true,
      "moduleName": "Objective"
    },
    "name": "Raw Materials and Sales Inventory"
  },
  "origin": "RISK"
}

Response

Risks unlinked successfully