> ## 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 प्रॉम्प्ट
प्रॉम्प्ट को क्लिपबोर्ड पर कॉपी करें

<pre>
  \`Permanently delete one monitoring event from my Didit application.

  Endpoint:
  DELETE [https://verification.didit.me/v3/events/\{event\_uuid}/delete/](https://verification.didit.me/v3/events/\{event_uuid}/delete/)

  Authentication:
  Use the x-api-key header with my Didit API key. A scoped key needs transactions: write.

  Goal:

  * Delete a single event, for example one sent by mistake. To erase everything about a person or a company, delete the user or the company instead, which also deletes their events.

  Behavior:

  * event\_uuid is the Didit id of the event (from the create, batch, list or timeline response), not my own event\_id.
  * The event is deleted together with its rule runs, notes and tag links.
  * After a 204 the event no longer appears in any read: GET /v3/events/{event_uuid}/ returns 404 and it is gone from the list and the subject timeline.
  * Deletion is irreversible. A second call returns 404.
  * Not affected: the user or company the event resolved to, cases a rule opened, and list entries a rule added. They are separate records with their own lifecycle.
  * The event\_id becomes free: a later POST /v3/events/ with it stores a new event.

  Example call:
  curl -X DELETE "[https://verification.didit.me/v3/events/11111111-2222-3333-4444-555555555555/delete/](https://verification.didit.me/v3/events/11111111-2222-3333-4444-555555555555/delete/)" \
  -H "x-api-key: YOUR\_API\_KEY"

  What to read from the response:

  * 204 No Content means the event was deleted. There is no body.

  Failure modes:

  * 401 - the API key has expired.
  * 403 - missing API key (a wrong, revoked or expired key gets 401), or a scoped key without transactions: write.
  * 404 - no event with this event\_uuid in the application (already deleted, never stored, or another application's).

  Side effects: permanently deletes the event. This cannot be undone.

  For the full integration shape, see /integration/integration-prompt.\`
</pre>

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

> [!WARNING]
>
> किसी इवेंट को हटाना अपरिवर्तनीय है। किसी व्यक्ति या कंपनी से जुड़ी सारी जानकारी मिटाने के लिए, उनके इवेंट एक-एक करके हटाने के बजाय [उपयोगकर्ता हटाएँ](https://docs.didit.me/hi/management-api/users/delete.md) या [कंपनी हटाएँ](https://docs.didit.me/hi/management-api/businesses/delete.md)। ऐसा करने पर उनके इवेंट भी हट जाते हैं।


## OpenAPI

````yaml hi/openapi-25.json DELETE /v3/events/{event_uuid}/delete/
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/events/{event_uuid}/delete/:
    delete:
      tags:
        - Monitoring Events
      summary: निगरानी इवेंट हटाएं
      description: >-
        एक मॉनिटरिंग इवेंट को उसके नियम निष्पादनों, नोट्स और टैग लिंक के साथ
        स्थायी रूप से हटाएं, उदाहरण के लिए गलती से भेजा गया कोई इवेंट। `204` के
        बाद इवेंट हर रीड से हट जाता है (रिट्रीव `404` लौटाता है, और यह सूची या
        विषय की टाइमलाइन में दिखाई नहीं देता है), विलोपन अपरिवर्तनीय है, और इसका
        `event_id` किसी नए इवेंट के लिए उपयोग करने के लिए स्वतंत्र है। जो
        प्रभावित नहीं होते: वह उपयोगकर्ता या कंपनी जिस पर इवेंट का समाधान हुआ
        था, किसी नियम द्वारा खोले गए केस, किसी नियम द्वारा जोड़ी गई सूची
        प्रविष्टियां, और अन्य इवेंट्स पर पहले से लागू किए गए स्कोर और स्थितियां।
        किसी व्यक्ति या कंपनी से संबंधित सब कुछ मिटाने के लिए, इसके बजाय
        उपयोगकर्ता या कंपनी को हटाएं, जिससे उनके इवेंट भी हटा दिए जाते हैं।
        स्कोप्ड API कुंजी के लिए `transactions: write` आवश्यक है।
      operationId: delete_monitoring_event
      parameters:
        - name: event_uuid
          in: path
          required: true
          description: >-
            इवेंट का Didit पहचानकर्ता (create, batch, list या timeline रिस्पॉन्स
            से `event_uuid`), आपकी अपनी `event_id` नहीं।
          schema:
            type: string
            format: uuid
          example: 11111111-2222-3333-4444-555555555555
      responses:
        '204':
          description: इवेंट हटा दिया गया था। कोई बॉडी नहीं।
        '401':
          description: >-
            स्कोप्ड API कुंजी की समय-सीमा समाप्त हो गई है। केवल समय-सीमा समाप्त
            कुंजी को `401` मिलता है; अनुपलब्ध या अमान्य कुंजी को `403` मिलता है।
          content:
            application/json:
              examples:
                Expired key:
                  value:
                    detail: This API key has expired.
        '403':
          description: >-
            अनुपस्थित `x-api-key` (गलत, निरस्त या समाप्त कुंजी को `401` मिलता
            है), बिना `transactions: write` वाली स्कोप्ड कुंजी, कुछ वर्कफ़्लो या
            स्वीकृत सत्रों तक सीमित कुंजी (ऐसी कुंजी कभी भी लेन-देन निगरानी डेटा
            तक नहीं पहुँचती), या कुंजी की IP अनुमति सूची के बाहर से किया गया
            अनुरोध।
          content:
            application/json:
              examples:
                Missing or invalid API key:
                  value:
                    detail: You do not have permission to perform this action.
                Scoped key without access:
                  value:
                    detail: This API key has no write access to transactions.
                Key limited to workflows or approved sessions:
                  value:
                    detail: >-
                      This API key only reaches sessions inside its workflow or
                      status limits, so it can't use this endpoint.
                IP not allowed:
                  value:
                    detail: This API key can't be used from this IP address.
        '404':
          description: >-
            एप्लिकेशन में इस `event_uuid` वाला कोई इवेंट मौजूद नहीं है: इसे कभी
            संग्रहीत नहीं किया गया था, इसे हटा दिया गया था, या यह किसी अन्य
            एप्लिकेशन से संबंधित है। जो पाथ सेगमेंट UUID नहीं है, वह रूट से मेल
            नहीं खाता है और `404` भी लौटाता है।
          content:
            application/json:
              examples:
                Not found:
                  value:
                    detail: No MonitoringEvent matches the given query.
        '429':
          description: >-
            रेट लिमिट पार हो गई: राइट (write) अनुरोध (`POST`, `PATCH`, `DELETE`)
            प्रति API कुंजी प्रति मिनट 300 अनुरोधों का बजट साझा करते हैं।
            `Retry-After` सेकंड प्रतीक्षा करें, फिर पुनः प्रयास करें।
          headers:
            Retry-After:
              description: पुनः प्रयास करने से पहले प्रतीक्षा करने के सेकंड।
              schema:
                type: integer
                minimum: 1
                example: 30
          content:
            application/json:
              examples:
                Throttled:
                  value:
                    detail: >-
                      Write request rate limit exceeded. You can make up to 300
                      requests per minute.
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X DELETE
            'https://verification.didit.me/v3/events/11111111-2222-3333-4444-555555555555/delete/'
            \
              -H 'x-api-key: YOUR_API_KEY'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY.
            client = Didit()

            client.monitoring_events.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.monitoringEvents.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.MonitoringEvents.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.monitoringEvents().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->monitoringEvents->delete('11111111-2222-3333-4444-555555555555');
        - lang: ruby
          label: Ruby
          source: >-
            require "didit"


            # Reads DIDIT_API_KEY.

            didit = Didit::Client.new


            didit.monitoring_events.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.MonitoringEvents.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.