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

# Transaktionsüberwachungsregeln deinstallieren: Preset-API

> Mit Didit installierte Preset-KYT-Regeln per API entfernen, per Bibliotheksschlüssel oder als Bundle. Jederzeit wieder installierbar.



Prompt für die API zum Deinstallieren von Bibliotheksregeln
        Prompt in die Zwischenablage kopieren



      
      

\<pre>

\`Remove installed preset rules from my application.

Endpoint:
DELETE https://verification.didit.me/v3/transactions/rules/install/

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

Request body (application/json) - provide at least one selector:
\{ "library_keys": ["structuring-inbound"] }
\{ "bundle": "responsible_gaming" }
\{ "library_keys": ["structuring-inbound"], "bundle": "aml_ctf" }

Response:
\{ "uninstalled_count": 5 }

Behavior:
\- Uninstalled presets stop evaluating immediately and leave the rules list.
\- You may send both selectors. When you do, only the requested library keys that belong to the bundle are removed.
\- Nothing is lost: any preset can be reinstalled from the library at any time via POST /v3/transactions/rules/install/, and past rule runs keep their recorded results.
\- To silence a preset temporarily without removing it, PATCH its mode to DISABLED instead.

Failure modes:
\- 400 - neither library_keys nor bundle provided, or library_keys is not a list.`

\</pre>



      
      

Einfügen in



## OpenAPI

````yaml de/openapi-25.json DELETE /v3/transactions/rules/install/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: API für Ausweisverifizierung. Authentifizierung über den x-api-key-Header.
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/transactions/rules/install/:
    delete:
      tags:
        - Transactions
      summary: Bibliotheksregeln deinstallieren
      description: >-
        Installierte Presets anhand von `library_keys` oder als ganzes `bundle`
        aus der Anwendung entfernen. Deinstallierte Presets werden ab sofort
        nicht mehr ausgewertet und können jederzeit wieder aus der Bibliothek
        installiert werden.
      operationId: uninstallTransactionRuleLibrary
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransactionRuleInstallRequest'
            example:
              bundle: responsible_gaming
      responses:
        '200':
          description: Wie viele Voreinstellungen entfernt wurden.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionRuleInstallResult'
              example:
                uninstalled_count: 5
        '400':
          description: Weder library_keys noch bundle angegeben.
          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/install/' \
              -H 'x-api-key: YOUR_API_KEY' \
              -H 'Content-Type: application/json' \
              -d '{"bundle": "responsible_gaming"}'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY.
            client = Didit()

            result = client.transactions.rules.uninstall_library(
                bundle="responsible_gaming",
            )
            print(result)
        - lang: javascript
          label: Node.js
          source: |-
            import Didit from "@didit-protocol/sdk-node";

            // Reads DIDIT_API_KEY.
            const didit = new Didit();

            const result = await didit.transactions.rules.uninstallLibrary({
              bundle: "responsible_gaming",
            });
            console.log(result);
        - lang: go
          label: Go
          source: "ctx := context.Background()\n// Reads DIDIT_API_KEY.\nclient := didit.NewClient()\n\nresult, err := client.Transactions.Rules.UninstallLibrary(ctx, didit.TransactionRuleInstallRequest{\n\tBundle: didit.String(\"responsible_gaming\"),\n})\nif err != nil {\n\tlog.Fatal(err)\n}\nfmt.Printf(\"%+v\\n\", result)"
        - lang: java
          label: Java
          source: >-
            import me.didit.Didit;

            import me.didit.types.TransactionRuleInstallRequest;


            // Reads DIDIT_API_KEY.

            Didit client = new Didit();


            var result =
            client.transactions().rules().uninstallLibrary(TransactionRuleInstallRequest.builder()
                    .bundle("responsible_gaming")
                    .build());
            System.out.println(result);
        - lang: php
          label: PHP
          source: |-
            <?php

            require 'vendor/autoload.php';

            use Didit\DiditClient;

            // Reads DIDIT_API_KEY.
            $didit = new DiditClient();

            $result = $didit->transactions->rules->uninstallLibrary([
                'bundle' => 'responsible_gaming',
            ]);
            print_r($result->toArray());
        - lang: ruby
          label: Ruby
          source: >-
            require "didit"


            # Reads DIDIT_API_KEY.

            didit = Didit::Client.new


            result = didit.transactions.rules.uninstall_library(bundle:
            "responsible_gaming")

            puts result.to_h
        - lang: csharp
          label: .NET
          source: >-
            using System;

            using System.Text.Json;

            using Didit;


            // Reads DIDIT_API_KEY.

            using var client = new DiditClient();


            var result = await
            client.Transactions.Rules.UninstallLibraryAsync(new
            TransactionRuleInstallRequest

            {
                Bundle = "responsible_gaming",
            });

            Console.WriteLine(JsonSerializer.Serialize(result));
components:
  schemas:
    TransactionRuleInstallRequest:
      type: object
      properties:
        library_keys:
          type: array
          items:
            type: string
          description: Spezifische Voreinstellungen zum Installieren oder Deinstallieren.
        bundle:
          type: string
          description: >-
            Stattdessen jede Vorlage in diesem Bundle installieren oder
            deinstallieren.
      description: Geben Sie library_keys ODER bundle an.
    TransactionRuleInstallResult:
      type: object
      properties:
        installed_library_keys:
          type: array
          items:
            type: string
          description: >-
            Nur POST (Installieren): Durch diesen Aufruf installierte
            Voreinstellungen.
        installed_count:
          type: integer
          description: Nur POST (Installieren).
        uninstalled_count:
          type: integer
          description: >-
            Nur DELETE (Deinstallation): durch diesen Aufruf entfernte
            Voreinstellungen.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Der API-Schlüssel Ihrer Anwendung, aus Entwickler -> API-Schlüssel in
        der Business Console. Der Primärschlüssel hat Vollzugriff. Ein benannter
        Schlüssel kann im Geltungsbereich eingeschränkt werden: keine, Lese-
        oder Schreibberechtigung pro Ressource, beschränkt auf bestimmte
        Workflows oder genehmigte Sitzungen, auf eine Liste von IP-Adressen und
        auf ein Ablaufdatum. 401 bedeutet, dass der Schlüssel falsch, widerrufen
        oder abgelaufen ist; 403 bedeutet, dass kein Schlüssel gesendet wurde,
        der Schlüssel keinen Zugriff auf diese Ressource oder Aktion hat oder
        die Anfrage von einer Adresse außerhalb seiner IP-Liste stammte; 404 bei
        einer Sitzungsroute bedeutet, dass die Sitzung außerhalb der Workflows
        oder Status des Schlüssels liegt. Ein Schlüssel ohne Medienzugriff
        erhält Bild-, Video- und PDF-URLs als null, und ein Schlüssel ohne
        Schreibberechtigung für Sitzungen erhält Sitzungslinks und Token als
        null. Siehe https://docs.didit.me/console/api-keys.

````

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