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

# 거래 모니터링 규칙 삭제 API

> Didit API로 사용자 지정 KYT 규칙을 삭제합니다. 삭제는 즉시 영구적으로 적용되며, 라이브러리 프리셋은 대신 설치 해제되고 언제든 다시 설치할 수 있습니다.

규칙 삭제 API 프롬프트
프롬프트를 클립보드에 복사

<pre>
  \`Delete a CUSTOM transaction-monitoring rule.

  Endpoint:
  DELETE [https://verification.didit.me/v3/transactions/rules/\{rule\_uuid}/](https://verification.didit.me/v3/transactions/rules/\{rule_uuid}/)

  Authentication:
  Use the x-api-key header with my Didit API key.

  Behavior:

  * 204 on success. Deletion is immediate and permanent: the rule stops evaluating for new transactions and disappears from listings. Rule runs already recorded on past transactions keep their results.
  * Only CUSTOM rules can be deleted. A library preset returns 400 - uninstall it via DELETE /v3/transactions/rules/install/ instead (presets can always be reinstalled from the library).
  * The freed title can be reused by a new rule.

  Failure modes:

  * 400 - the rule is a library preset.
  * 404 - unknown rule uuid for this application.\`
</pre>

붙여넣을 곳


## OpenAPI

````yaml ko/openapi-25.json DELETE /v3/transactions/rules/{rule_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/transactions/rules/{rule_uuid}/:
    parameters:
      - name: rule_uuid
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: 목록 조회 또는 생성 시 반환된 규칙의 uuid입니다.
    delete:
      tags:
        - Transactions
      summary: 규칙 삭제
      description: >-
        CUSTOM 규칙을 삭제합니다. 삭제는 즉시 영구적으로 적용됩니다. 규칙은 새 거래에 대한 평가를 중단하고 목록에서 사라지지만,
        이미 평가된 거래에 대한 과거 규칙 실행 결과는 그대로 유지됩니다. 라이브러리 규칙은 삭제할 수 없습니다. 대신 설치
        endpoint를 통해 설치를 해제하세요(라이브러리에서 언제든지 다시 설치할 수 있습니다).
      operationId: deleteTransactionRule
      responses:
        '204':
          description: 삭제되었습니다.
        '400':
          description: 이 규칙은 라이브러리 프리셋입니다. 대신 제거하세요.
          content:
            application/json:
              schema:
                type: object
              example:
                detail: >-
                  Library rules cannot be deleted. Uninstall them via the rules
                  install endpoint instead.
        '404':
          description: 이 애플리케이션에 해당 규칙이 없습니다.
          content:
            application/json:
              schema:
                type: object
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X DELETE
            'https://verification.didit.me/v3/transactions/rules/RULE_UUID/' \
              -H 'x-api-key: YOUR_API_KEY'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY.
            client = Didit()

            client.transactions.rules.delete(
                "11111111-2222-3333-4444-555555555555",
            )
        - lang: javascript
          label: Node.js
          source: >-
            import Didit from "@didit-protocol/sdk-node";


            // Reads DIDIT_API_KEY.

            const didit = new Didit();


            await
            didit.transactions.rules.delete("11111111-2222-3333-4444-555555555555");
        - lang: go
          label: Go
          source: "ctx := context.Background()\n// Reads DIDIT_API_KEY.\nclient := didit.NewClient()\n\nif err := client.Transactions.Rules.Delete(ctx, \"11111111-2222-3333-4444-555555555555\"); err != nil {\n\tlog.Fatal(err)\n}"
        - lang: java
          label: Java
          source: >-
            import me.didit.Didit;


            // Reads DIDIT_API_KEY.

            Didit client = new Didit();


            client.transactions().rules().delete("11111111-2222-3333-4444-555555555555");
        - lang: php
          label: PHP
          source: >-
            <?php


            require 'vendor/autoload.php';


            use Didit\DiditClient;


            // Reads DIDIT_API_KEY.

            $didit = new DiditClient();


            $didit->transactions->rules->delete('11111111-2222-3333-4444-555555555555');
        - lang: ruby
          label: Ruby
          source: >-
            require "didit"


            # Reads DIDIT_API_KEY.

            didit = Didit::Client.new


            didit.transactions.rules.delete("11111111-2222-3333-4444-555555555555")
        - lang: csharp
          label: .NET
          source: >-
            using System;

            using Didit;


            // Reads DIDIT_API_KEY.

            using var client = new DiditClient();


            await
            client.Transactions.Rules.DeleteAsync("11111111-2222-3333-4444-555555555555");
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.