Risks

Create a risk

POST
/organizations/{organizationId}/risks

Creates a risk record in the organization risk register.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/string/risks" \  -H "Content-Type: application/json" \  -d '{    "title": "string"  }'
{  "id": "string",  "organizationId": "string",  "riskTemplateId": "string",  "key": "string",  "title": "string",  "description": "string",  "category": "string",  "ownerUserId": "string",  "status": "open",  "inherentLikelihood": 0,  "inherentImpact": 0,  "inherentScore": 0,  "inherentBand": {    "label": "string",    "min": 0,    "max": 0,    "color": "string"  },  "treatmentStrategy": "untreated",  "treatmentRationale": "string",  "treatmentTargetDate": null,  "treatmentCompletedDate": null,  "residualLikelihood": 0,  "residualImpact": 0,  "residualScore": 0,  "residualBand": {    "label": "string",    "min": 0,    "max": 0,    "color": "string"  },  "controlIds": [    "string"  ],  "vendorId": "string",  "affectedRecords": [    {      "type": "dataSystem",      "id": "string"    }  ],  "ruleId": "string",  "reviewFrequency": "annual",  "lastReviewedAt": null,  "nextReviewDueAt": null,  "dateCreated": null,  "dateUpdated": null,  "property1": null,  "property2": null}