> ## 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/ko/management-api/regulatory-reports/list.md)
- [보고서 확정](https://docs.didit.me/ko/management-api/regulatory-reports/finalize.md)
- [케이스 삭제](https://docs.didit.me/ko/management-api/cases/delete.md)
- [거래 일괄 삭제](https://docs.didit.me/ko/management-api/transactions/delete.md)


## OpenAPI

````yaml ko/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 키로 보고서를 삭제할 수 없습니다. 이 엔드포인트에는 `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: >-
        Business Console의 Developers -> API keys에서 발급받은 귀하 애플리케이션의 API 키입니다. 기본
        키는 전체 접근 권한을 갖습니다. 이름이 지정된 키는 리소스별 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.