Skip to main content
DELETE
/
audits
/
{auditId}
/
information-requests
/
{requestId}
/
comments
/
{commentId}
TypeScript
import { Vanta } from "vanta-auditor-api-sdk";

const vanta = new Vanta({
  bearerAuth: process.env["VANTA_BEARER_AUTH"] ?? "",
});

async function run() {
  await vanta.audits.deleteCommentForInformationRequest({
    auditId: "<id>",
    requestId: "<id>",
    commentId: "<id>",
    deleteInformationRequestCommentInput: {
      email: "Ole.Adams@gmail.com",
    },
  });


}

run();

Documentation Index

Fetch the complete documentation index at: https://vanta.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

auditId
string
required
requestId
string
required
commentId
string
required

Body

application/json

Deletes an existing comment on an information request. Only the original author of the comment can delete it.

email
string
required

Email address of the comment author. Must match an existing Vanta user who belongs to the audit firm making the API request. This email uniquely identifies the author across systems.

Response

204

No content