Bulk-update AKRs.
PATCH /v1/risks/akr
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 ”AKRs updated successfully
Register row for Adversarial Key Risks (AKRs). A KeyRisk plus the relational
data shown on the AKR register: threat objectives, incident associations, and
comment count. AKRs cannot be tagged.
object
Example
INC-00001The core view of an Adversarial Key Risk (AKR).
Relational data — threat objectives, comments, and incident associations — is
exposed on KeyRiskRegisterEntry, 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
AKR-00001The status of a risk
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, tags rejected)
AKRs do not support linking (parent_id rejected)