> ## Documentation Index
> Fetch the complete documentation index at: https://developer.vanta.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete an information request for an audit

> Deletes an information request for an audit. This performs a soft delete, marking
the request as deleted (setting `deletionDate`) while preserving it in the system
for audit history and compliance tracking.

Soft deletion allows:
- Maintaining complete audit trail of all requests ever created
- Retrieving deleted requests via `changedSinceDate` for synchronization

After deletion:
- The request will not appear in normal list responses (without `changedSinceDate`)
- The request's `deletionDate` field will be populated

Rate limit: 10 requests / minute.



## OpenAPI

````yaml https://spec.speakeasy.com/vanta/vanta/conduct-an-audit-with-code-samples delete /audits/{auditId}/information-requests/{requestId}
openapi: 3.0.0
info:
  title: Conduct an audit
  version: 1.0.0
  description: >-
    The Auditor API lets audit firms conduct audits from a tool outside of
    Vanta. Unlock data syncing with Vanta through this API.


    **Note for Vanta Gov (FedRAMP) customers:** Select `Vanta Gov (FedRAMP)`
    from the server dropdown to issue requests against
    `https://api.vanta-gov.com`. The OAuth token URL shown below defaults to the
    commercial host — replace it with `https://api.vanta-gov.com/oauth/token`.
  termsOfService: https://www.vanta.com/terms
  license:
    name: UNLICENSED
  contact:
    name: API Support
    url: https://help.vanta.com/
    email: support@vanta.com
servers:
  - url: https://api.vanta.com/v1
    description: Vanta (Commercial)
  - url: https://api.vanta-gov.com/v1
    description: Vanta Gov (FedRAMP)
security: []
paths:
  /audits/{auditId}/information-requests/{requestId}:
    delete:
      tags:
        - Audits
      summary: Delete an information request for an audit
      description: >-
        Deletes an information request for an audit. This performs a soft
        delete, marking

        the request as deleted (setting `deletionDate`) while preserving it in
        the system

        for audit history and compliance tracking.


        Soft deletion allows:

        - Maintaining complete audit trail of all requests ever created

        - Retrieving deleted requests via `changedSinceDate` for synchronization


        After deletion:

        - The request will not appear in normal list responses (without
        `changedSinceDate`)

        - The request's `deletionDate` field will be populated


        Rate limit: 10 requests / minute.
      operationId: DeleteInformationRequest
      parameters:
        - in: path
          name: auditId
          required: true
          schema:
            type: string
        - in: path
          name: requestId
          required: true
          schema:
            type: string
      responses:
        '204':
          description: No content
      security:
        - bearerAuth: []
      x-codeSamples:
        - lang: typescript
          label: DeleteInformationRequest
          source: |-
            import { Vanta } from "vanta-auditor-api-sdk";

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

            async function run() {
              await vanta.audits.deleteInformationRequest({
                auditId: "<id>",
                requestId: "<id>",
              });


            }

            run();
        - lang: java
          label: DeleteInformationRequest
          source: >-
            package hello.world;


            import com.vanta.vanta_auditor_api.Vanta;

            import
            com.vanta.vanta_auditor_api.models.operations.DeleteInformationRequestResponse;

            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();

                    DeleteInformationRequestResponse res = sdk.audits().deleteInformationRequest()
                            .auditId("<id>")
                            .requestId("<id>")
                            .call();

                    // handle response
                }
            }
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````