Skip to main content
PUT
/
v1
/
risk-ranges
/
{riskRangesId}
Update Risk Range
curl --request PUT \
  --url https://localtest.mindbridge.ai/api/v1/risk-ranges/{riskRangesId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "version": 123,
  "low": {
    "lowThreshold": 5000,
    "highThreshold": 5000
  },
  "medium": {
    "lowThreshold": 5000,
    "highThreshold": 5000
  },
  "high": {
    "lowThreshold": 5000,
    "highThreshold": 5000
  },
  "description": "<string>"
}
'
{
  "libraryId": {},
  "analysisTypeId": {},
  "name": "<string>",
  "id": {},
  "version": 123,
  "low": {
    "lowThreshold": 5000,
    "highThreshold": 5000
  },
  "medium": {
    "lowThreshold": 5000,
    "highThreshold": 5000
  },
  "high": {
    "lowThreshold": 5000,
    "highThreshold": 5000
  },
  "system": true,
  "engagementId": {},
  "description": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

riskRangesId
string
required

Body

application/json
name
string
required

The name of the risk range.

Required string length: 1 - 80
Pattern: \s*\S+.*
version
integer<int64>

Data integrity version to ensure data consistency.

low
Risk Range Bounds · object

The low range bounds.

medium
Risk Range Bounds · object

The medium range bounds.

high
Risk Range Bounds · object

The high range bounds.

description
string

The description of the risk range.

Maximum string length: 250

Response

OK

libraryId
object
required

Identifies the library associated with this risk range.

analysisTypeId
object
required

Identifies the analysis type associated with this risk range.

name
string
required

The name of the risk range.

Required string length: 1 - 80
Pattern: \s*\S+.*
id
object

The unique object identifier.

version
integer<int64>

Data integrity version to ensure data consistency.

low
Risk Range Bounds · object

The low range bounds.

medium
Risk Range Bounds · object

The medium range bounds.

high
Risk Range Bounds · object

The high range bounds.

system
boolean

Indicates whether or not the risk ranges are a MindBridge system risk range.

engagementId
object

Identifies the engagement associated with this risk range.

description
string

The description of the risk range.

Maximum string length: 250