Bulk-update RSKs.
PATCH /v1/risks
Request Body required
Section titled “Request Body required ”PATCH /risks
object
PATCH /risks/:id
object
Mark this risk as linked under another risk. Some(Some(id)) sets the
parent; Some(None) clears it; None leaves the field untouched.
A relational struct that has a threat objective type and its relevancy to a risk.
PartialEq, Eq, and Hash are implemented manually to exclude created_date,
which is metadata about when the relation was mutated — not part of the identity.
object
The time that this relation was mutated
The threat objective type
Responses
Section titled “ Responses ”RSKs updated successfully
Register row for Organization Risks (RSKs). A Risk plus the relational data
shown on the risk register: threat objectives, incident associations, tags, and
comment count.
object
Count of comments on this risk (not the comments themselves).
Example
INC-00001Number of risks linked under this risk (i.e. children pointing at it).
A risk is itself a linked child when risk.parent_id is set.
The core view of an Organization Risk (RSK).
Relational data — threat objectives, comments, incident associations, and tags —
is exposed on RiskRegisterEntry, not here.
object
A User as returned by the API.
Profile images are not embedded — clients fetch them from
GET /api/v1/{icon} when icon is Some.
object
Relative path to the user’s avatar endpoint, e.g.
"users/{id}/avatar?v={hash}". None when the user has no avatar.
Example
RSK-00001A User as returned by the API.
Profile images are not embedded — clients fetch them from
GET /api/v1/{icon} when icon is Some.
object
Relative path to the user’s avatar endpoint, e.g.
"users/{id}/avatar?v={hash}". None when the user has no avatar.
When set, this risk is linked under the named parent risk.
Example
RSK-00001The status of a risk
A User as returned by the API.
Profile images are not embedded — clients fetch them from
GET /api/v1/{icon} when icon is Some.
object
Relative path to the user’s avatar endpoint, e.g.
"users/{id}/avatar?v={hash}". None when the user has no avatar.
object
A relational struct that has a threat objective type and its relevancy to a risk.
PartialEq, Eq, and Hash are implemented manually to exclude created_date,
which is metadata about when the relation was mutated — not part of the identity.
object
The time that this relation was mutated
The threat objective type
Validation failed (e.g. empty ids, unknown source, inactive assignee)
Risk not found
Invalid parent link (self-link, cycle, multi-layer nesting, or deleted parent)