Delete an audit
DELETE
/v1/audits/{auditId}
const url = 'https://api.varman.io/v1/audits/aud_abc123';const options = {method: 'DELETE', 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 DELETE \ --url https://api.varman.io/v1/audits/aud_abc123 \ --header 'X-API-Key: <X-API-Key>'Deletes an audit with its request list and comments. Linked tasks, policies and files are kept. Auditors keep their organization membership.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”auditId
required
string
Example
aud_abc123Audit ID