Reopen vendor risk acceptance
const url = 'https://api.varman.io/v1/vendors/vnd_abc123def456/acceptances/reopen';const options = {method: 'POST', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/vendors/vnd_abc123def456/acceptances/reopen \ --header 'X-API-Key: <X-API-Key>'Revokes the current residual-risk acceptance for a vendor by appending a reopen event to the history. Fails with 400 when there is no current acceptance.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
vnd_abc123def456Vendor ID
Responses
Section titled “Responses”Acceptance recorded successfully
object
Acceptance event ID
Member ID of the acceptor (null if since removed)
Acceptor display name, frozen at acceptance
Residual likelihood frozen at acceptance
Residual impact frozen at acceptance
Risk level of the accepted residual rating
Human-readable level label
True when the residual rating changed after this acceptance was recorded — re-acceptance is required
When the acceptance was recorded (server-set, immutable)
How the request was authenticated
User information (only for session auth)
object
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
object
Example
{ "message": "No owner is assigned. Assign an owner or choose an acceptor."}Unauthorized - Invalid authentication
object
Example
{ "message": "Invalid or expired API key"}Forbidden - User does not have permission to access vendor risks
object
Example
{ "message": "Forbidden"}Vendor not found
object
Example
{ "message": "Vendor with ID vnd_abc123def456 not found in organization org_abc123def456"}Internal server error
object
Example
{ "message": "Internal server error"}