> ## 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 hi/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: >-
        आपकी एप्लिकेशन की 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.