Skip to content

Update an audit

PATCH
/v1/audits/{auditId}
curl --request PATCH \
--url https://api.varman.io/v1/audits/aud_abc123 \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "name": "SOC 2 Type II 2026", "type": "soc2_type1", "status": "planning", "auditFirm": "Prescient Assurance", "periodStart": {}, "periodEnd": {}, "fieldworkStart": {}, "fieldworkEnd": {} }'

Updates name, type, status, audit firm, observation period or fieldwork dates. Only the fields sent change. Send null to clear a date.

auditId
required
string

Example

aud_abc123

Audit ID

Media typeapplication/json
object
name

Audit name

string

Example

SOC 2 Type II 2026
type

Audit type

string
Allowed values: soc2_type1 soc2_type2 iso27001_stage1 iso27001_stage2 iso27001_surveillance hipaa gdpr internal
status

Audit status, defaults to planning

string
Allowed values: planning fieldwork reporting complete
auditFirm

Audit firm

object

Example

Prescient Assurance
periodStart

Observation period start (Type II), ISO date

object
periodEnd

Observation period end (Type II), ISO date

object
fieldworkStart

Fieldwork start, ISO date

object
fieldworkEnd

Fieldwork end, ISO date

object