Skip to content

Reopen risk acceptance

POST
/v1/risks/{id}/acceptances/reopen
curl --request POST \
--url https://api.varman.io/v1/risks/rsk_abc123def456/acceptances/reopen \
--header 'X-API-Key: <X-API-Key>'

Revokes the current residual-risk acceptance by appending a reopen event to the history and moves the risk status back to open. Fails with 400 when there is no current acceptance.

id
required
string

Example

rsk_abc123def456

Risk ID

Acceptance recorded successfully

Media typeapplication/json
object
id

Acceptance event ID

string
acceptedById

Member ID of the acceptor (null if since removed)

string
nullable
acceptedByName

Acceptor display name, frozen at acceptance

string
notes
string
nullable
residualLikelihood

Residual likelihood frozen at acceptance

string
Allowed values: very_unlikely unlikely possible likely very_likely
residualImpact

Residual impact frozen at acceptance

string
Allowed values: insignificant minor moderate major severe
level

Risk level of the accepted residual rating

string
Allowed values: very-low low medium high very-high
levelLabel

Human-readable level label

string
stale

True when the residual rating changed after this acceptance was recorded — re-acceptance is required

boolean
createdAt

When the acceptance was recorded (server-set, immutable)

string format: date-time
authType

How the request was authenticated

string
Allowed values: api-key session service
authenticatedUser

User information (only for session auth)

object
id
string
email
string

Example

{
"id": "rska_abc123def456",
"acceptedById": "mem_abc123def456",
"acceptedByName": "Jane Doe",
"notes": "Residual risk reviewed at the Q2 risk review.",
"residualLikelihood": "very_unlikely",
"residualImpact": "insignificant",
"level": "very-low",
"levelLabel": "Low",
"stale": false,
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}

No owner assigned, or the acceptor is not a valid member

Media typeapplication/json
object
message
string

Example

{
"message": "No owner is assigned. Assign an owner or choose an acceptor."
}

Unauthorized - Invalid authentication

Media typeapplication/json
object
message
string

Example

{
"message": "Invalid or expired API key"
}

Forbidden - User does not have permission to access this risk

Media typeapplication/json
object
message
string

Example

{
"message": "You do not have access to this risk"
}

Risk not found

Media typeapplication/json
object
message
string

Example

{
"message": "Risk with ID abc123 not found in organization org_abc123def456"
}

Internal server error

Media typeapplication/json
object
message
string

Example

{
"message": "Internal server error"
}