Update an evidence request
PATCH
/v1/audits/{auditId}/requests/{requestId}
const url = 'https://api.varman.io/v1/audits/aud_abc123/requests/aur_abc123';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"title":"Access review for Q3","description":{},"controlId":"ctl_abc123","requirementLabel":{},"ownerMemberId":"mem_abc123","dueDate":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.varman.io/v1/audits/aud_abc123/requests/aur_abc123 \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "title": "Access review for Q3", "description": {}, "controlId": "ctl_abc123", "requirementLabel": {}, "ownerMemberId": "mem_abc123", "dueDate": {} }'Updates title, description, control, requirement, owner or due date of a request. Allowed for admins and auditors on the audit. Status changes use submit and review.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”auditId
required
string
Example
aud_abc123Audit ID
requestId
required
string
Example
aur_abc123Audit request ID
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
title
What the auditor asks for
string
Example
Access review for Q3description
Details of the request
object
controlId
Control the request is linked to
object
Example
ctl_abc123requirementLabel
Requirement label, e.g. CC6.1
object
ownerMemberId
Member who answers the request
object
Example
mem_abc123dueDate
Due date, ISO date