> ## 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.

When information request webhooks are enabled, Vanta can deliver
`v1.information-request.deleted` after the deletion succeeds to the
subscribed audit firm that had access to the audit before deletion.
The payload identifies the deleted request and its audit.

Use the information request list to reconcile deletions. The list returns
the request with `deletionDate` set, even when `changedSinceDate` is omitted.

Rate limit: 50 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: US Region API
  - 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.


        When information request webhooks are enabled, Vanta can deliver

        `v1.information-request.deleted` after the deletion succeeds to the

        subscribed audit firm that had access to the audit before deletion.

        The payload identifies the deleted request and its audit.


        Use the information request list to reconcile deletions. The list
        returns

        the request with `deletionDate` set, even when `changedSinceDate` is
        omitted.


        Rate limit: 50 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

````

## Related topics

- [Vanta API changelog](https://developer.vanta.com/docs/changelog.md)
- [Delete a comment for an information request](https://developer.vanta.com/api-reference/audits/delete-a-comment-for-an-information-request.md)
- [Delete an auditor file from an information request](https://developer.vanta.com/api-reference/audits/delete-an-auditor-file-from-an-information-request.md)
- [List information requests for an audit](https://developer.vanta.com/api-reference/audits/list-information-requests-for-an-audit.md)
- [Update an information request for an audit](https://developer.vanta.com/api-reference/audits/update-an-information-request-for-an-audit.md)
