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

# FIU रिपोर्ट हटाएँ API

> Didit में ड्राफ़्ट या अंतिम रेगुलेटरी रिपोर्ट को हटाएँ। इसके साथ उसका कॉपी किया गया नैरेटिव, लेन-देन लिंक, goAML XML और PDF भी हट जाते हैं।



रिपोर्ट हटाने के लिए API प्रॉम्प्ट
        प्रॉम्प्ट को क्लिपबोर्ड पर कॉपी करें



      
      

\<pre>

\`Delete a regulatory (FIU) report through the Management API.

Endpoint:
DELETE https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/regulatory-reports/{report_uuid}/

Authentication:
Use the x-api-key header with my Didit API key. The key must carry write:cases.

Request body:
A draft or validated report can be deleted without a body.
A finalized report requires:
\{"confirm_delete": true}

Example call:
curl -X DELETE "https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/regulatory-reports/{report_uuid}/" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"confirm_delete": true}'

What is deleted:
\- The report, its copied narrative, reasons and other report fields.
\- Its links to transactions.
\- Its generated goAML XML and PDF, including every stored version of those files.
The report disappears from report lists, and previously issued download URLs stop working. The case, transactions, people and companies are NOT deleted. Deletion is permanent and cannot be undone.

Failure modes:
\- 400 - a finalized report was sent without confirm_delete: true. Nothing is deleted.
\- 403 - the key cannot delete reports (requires write:cases).
\- 404 - the report does not exist in this application or was already deleted.
\- 409 - code report_deletion_pending: the report is already being deleted. Repeat the request to finish.
\- 503 - code report_storage_unavailable: the report files could not be erased right now. The report is still in place. Repeat the request.

After deletion:
A delete of a person, company, transaction, case or session that was blocked by this report can be repeated. See Delete Users, Delete Businesses, Batch Delete Transactions, Delete Case and Delete Session.

For the full integration shape, see /integration/integration-prompt.`

\</pre>



      
      

यहाँ पेस्ट करें

एक नियामक रिपोर्ट को स्थायी रूप से हटाएँ।## क्या हटाया जाता हैरिपोर्ट, उसका कॉपी किया गया वर्णन, कारण और रिपोर्ट के अन्य फ़ील्ड, लेन-देन से उसके लिंक, और उसके बनाए गए goAML XML और PDF। उन फ़ाइलों का हर संग्रहीत संस्करण मिटा दिया जाता है। रिपोर्ट सूचियों से हट जाती है, और पहले जारी किए गए डाउनलोड URL काम करना बंद कर देते हैं।केस, लेन-देन, व्यक्ति और कंपनियाँ **हटाई नहीं जातीं**। रिपोर्ट उनका डेटा अपने साथ नहीं ले जाती। हटाना स्थायी है और इसे पलटा नहीं जा सकता।## पुष्टिड्राफ़्ट या सत्यापित रिपोर्ट अनुरोध बॉडी के बिना हटाई जाती है।अंतिम रूप दी गई रिपोर्ट हटाने के लिए स्पष्ट पुष्टि आवश्यक है:```json theme={null}
{ "confirm_delete": true }
```इसके बिना, अंतिम रूप दी गई रिपोर्ट के लिए `400` रिस्पॉन्स लौटता है और कुछ भी नहीं हटाया जाता।## यदि फ़ाइलें अभी मिटाई नहीं जा सकतीं`code: report_storage_unavailable` के साथ `503` का अर्थ है कि रिपोर्ट की फ़ाइलें अभी मिटाई नहीं जा सकीं। रिपोर्ट अब भी मौजूद है, इसलिए अनुरोध दोबारा भेजें। `code: report_deletion_pending` के साथ `409` का अर्थ है कि इस रिपोर्ट को हटाने की प्रक्रिया पहले से चल रही है: उसे पूरा करने के लिए अनुरोध दोबारा भेजें।## अवरुद्ध हटाने को हल करेंयदि किसी व्यक्ति, कंपनी, लेन-देन, केस या सत्र को हटाने पर `code: in_filed_report` के साथ `409` लौटता है, तो रिस्पॉन्स में उन रिपोर्टों के नाम होते हैं जिनमें यह डेटा है। यहाँ हर रिपोर्ट हटाएँ, फिर अवरुद्ध हटाने का कार्य दोबारा करें।## संबंधित- [रिपोर्ट सूची देखें](https://docs.didit.me/hi/management-api/regulatory-reports/list.md)
- [रिपोर्ट को अंतिम रूप दें](https://docs.didit.me/hi/management-api/regulatory-reports/finalize.md)
- [केस हटाएँ](https://docs.didit.me/hi/management-api/cases/delete.md)
- [बैच में लेन-देन हटाएँ](https://docs.didit.me/hi/management-api/transactions/delete.md)


## OpenAPI

````yaml hi/openapi-25.json DELETE /v3/organization/{organization_id}/application/{application_id}/regulatory-reports/{report_uuid}/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: पहचान सत्यापन API। x-api-key हेडर के साथ प्रमाणीकृत करें।
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/organization/{organization_id}/application/{application_id}/regulatory-reports/{report_uuid}/:
    delete:
      tags:
        - Regulatory Reports
      summary: रिपोर्ट हटाएं
      description: >-
        एक नियामक रिपोर्ट को स्थायी रूप से हटाएं। रिपोर्ट, इसका कॉपी किया गया
        विवरण और कारण, इसके लेन-देन लिंक, और इसके जनरेट किए गए goAML XML और PDF
        मिटा दिए जाते हैं, जिसमें उन फ़ाइलों का प्रत्येक संग्रहीत संस्करण भी
        शामिल है। रिपोर्ट सूचियों से गायब हो जाती है और डाउनलोड URL काम करना बंद
        कर देते हैं। अन्य रिकॉर्ड, जिनमें केस, लेन-देन, लोग और कंपनियां शामिल
        हैं, हटाए नहीं जाते हैं। इसे पहले जैसा नहीं किया जा सकता (इसे वापस लेने
        का कोई विकल्प नहीं है)।


        ड्राफ्ट या मान्य रिपोर्ट को बिना किसी अनुरोध बॉडी के हटाया जा सकता है।
        अंतिम रूप दी गई रिपोर्ट को हटाने के लिए अनुरोध बॉडी में `confirm_delete:
        true` की आवश्यकता होती है। यदि रिपोर्ट मौजूद नहीं है, तो अनुरोध `404`
        लौटाता है; यदि अंतिम रूप दी गई रिपोर्ट बिना पुष्टि के भेजी जाती है, तो
        यह `400` लौटाता है और कुछ भी नहीं हटाया जाता है।
      operationId: delete_regulatory_report
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: संगठन UUID।
        - name: application_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: एप्लिकेशन UUID।
        - name: report_uuid
          in: path
          required: true
          schema:
            type: string
            format: uuid
            example: 5ec00000-0000-4000-8000-000000000007
          description: रिपोर्ट UUID।
      requestBody:
        required: false
        description: केवल फ़ाइनलाइज़ की गई रिपोर्ट के लिए आवश्यक।
        content:
          application/json:
            schema:
              type: object
              properties:
                confirm_delete:
                  type: boolean
                  description: >-
                    यह पुष्टि करने के लिए true पर सेट करें कि अंतिम रूप दी गई
                    रिपोर्ट और उसकी जनरेट की गई फ़ाइलें स्थायी रूप से हटा दी गई
                    हैं।
              example:
                confirm_delete: true
            example:
              confirm_delete: true
      responses:
        '204':
          description: रिपोर्ट हटा दी गई है, जिसमें इसकी जनरेट की गई फ़ाइलें भी शामिल हैं।
        '400':
          description: >-
            एक फ़ाइनलाइज़ की गई रिपोर्ट बिना `confirm_delete: true` के भेजी गई
            थी। कुछ भी हटाया नहीं गया है।
          content:
            application/json:
              schema:
                type: object
                properties:
                  confirm_delete:
                    type: array
                    items:
                      type: string
              example:
                confirm_delete:
                  - This field is required to delete a finalized report.
        '403':
          description: >-
            API कुंजी रिपोर्ट नहीं हटा सकती। endpoint के लिए `write:cases` की
            आवश्यकता है।
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
        '404':
          description: इस एप्लिकेशन में रिपोर्ट नहीं मिली।
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
        '409':
          description: >-
            रिपोर्ट पहले से ही हटाई जा रही है। इसकी फ़ाइलों को मिटाना समाप्त
            करने के लिए अनुरोध दोहराएँ।
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
              example:
                detail: >-
                  This report is being deleted. Retry deleting it to finish
                  erasing its files.
                code: report_deletion_pending
        '503':
          description: >-
            रिपोर्ट फ़ाइलों को अभी मिटाया नहीं जा सका। रिपोर्ट अभी भी मौजूद है।
            अनुरोध दोहराएँ।
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
              example:
                detail: >-
                  The report files could not be erased. Please retry deleting
                  the report.
                code: report_storage_unavailable
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl (draft report)
          source: >-
            curl -X DELETE
            'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/regulatory-reports/5ec00000-0000-4000-8000-000000000007/'
            \
              -H 'x-api-key: YOUR_API_KEY'
        - lang: curl
          label: curl (finalized report)
          source: >-
            curl -X DELETE
            'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/regulatory-reports/5ec00000-0000-4000-8000-000000000007/'
            \
              -H 'x-api-key: YOUR_API_KEY' \
              -H 'Content-Type: application/json' \
              -d '{"confirm_delete": true}'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            # and DIDIT_APPLICATION_ID.
            client = Didit()

            client.regulatory_reports.delete(
                "5ec00000-0000-4000-8000-000000000007",
                confirm_delete=True,
            )
        - lang: javascript
          label: Node.js
          source: >-
            import Didit from "@didit-protocol/sdk-node";


            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID

            // and DIDIT_APPLICATION_ID.

            const didit = new Didit();


            await
            didit.regulatoryReports.delete("5ec00000-0000-4000-8000-000000000007",
            {
              confirm_delete: true,
            });
        - lang: java
          label: Java
          source: >-
            import me.didit.Didit;

            import me.didit.types.RegulatoryReportsDeleteParams;


            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID

            // and DIDIT_APPLICATION_ID.

            Didit client = new Didit();


            client.regulatoryReports().delete("5ec00000-0000-4000-8000-000000000007",
            RegulatoryReportsDeleteParams.builder()
                    .confirmDelete(true)
                    .build());
        - lang: php
          label: PHP
          source: >-
            <?php


            require 'vendor/autoload.php';


            use Didit\DiditClient;


            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID

            // and DIDIT_APPLICATION_ID.

            $didit = new DiditClient();


            $didit->regulatoryReports->delete('5ec00000-0000-4000-8000-000000000007',
            [
                'confirm_delete' => true,
            ]);
        - lang: ruby
          label: Ruby
          source: |-
            require "didit"

            # Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            # and DIDIT_APPLICATION_ID.
            didit = Didit::Client.new

            didit.regulatory_reports.delete(
              "5ec00000-0000-4000-8000-000000000007",
              confirm_delete: true
            )
        - lang: csharp
          label: .NET
          source: >-
            using System;

            using Didit;


            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID

            // and DIDIT_APPLICATION_ID.

            using var client = new DiditClient();


            await
            client.RegulatoryReports.DeleteAsync("5ec00000-0000-4000-8000-000000000007",
            new RegulatoryReportsDeleteParams

            {
                ConfirmDelete = true,
            });
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        आपकी एप्लिकेशन की API कुंजी, Business Console में Developers -> API keys
        से। प्राथमिक कुंजी के पास पूर्ण एक्सेस होता है। एक नामित कुंजी को स्कोप
        किया जा सकता है: प्रति संसाधन none, read या write, कुछ वर्कफ़्लो या
        स्वीकृत सत्रों तक सीमित, IP पतों की सूची तक सीमित, और समाप्ति तिथि तक
        सीमित। 401 का अर्थ है कि कुंजी गलत है, निरस्त कर दी गई है या उसकी
        समय-सीमा समाप्त हो गई है; 403 का अर्थ है कि कोई कुंजी नहीं भेजी गई थी,
        कुंजी के पास इस संसाधन या कार्रवाई का एक्सेस नहीं है, या अनुरोध उसकी IP
        सूची से बाहर के पते से आया था; सत्र रूट पर 404 का अर्थ है कि सत्र कुंजी
        के वर्कफ़्लो या स्थितियों से बाहर है। मीडिया एक्सेस के बिना एक कुंजी को
        छवि, वीडियो और PDF URL null के रूप में प्राप्त होते हैं, और सत्र write
        के बिना एक कुंजी को सत्र लिंक और token null के रूप में प्राप्त होते हैं।
        देखें https://docs.didit.me/console/api-keys।

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.