Skip to main content
DELETE
/
audits
/
{auditId}
/
information-requests
/
{requestId}
/
comments
/
{commentId}
Java
package hello.world;

import com.vanta.vanta_auditor_api.Vanta;
import com.vanta.vanta_auditor_api.models.components.DeleteInformationRequestCommentInput;
import com.vanta.vanta_auditor_api.models.operations.DeleteCommentForInformationRequestResponse;
import java.lang.Exception;

public class Application {

    public static void main(String[] args) throws Exception {

        Vanta sdk = Vanta.builder()
                .bearerAuth(System.getenv().getOrDefault("BEARER_AUTH", ""))
            .build();

        DeleteCommentForInformationRequestResponse res = sdk.audits().deleteCommentForInformationRequest()
                .auditId("<id>")
                .requestId("<id>")
                .commentId("<id>")
                .deleteInformationRequestCommentInput(DeleteInformationRequestCommentInput.builder()
                    .email("Ole.Adams@gmail.com")
                    .build())
                .call();

        // handle response
    }
}

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