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

# KYC प्रश्नावली हटाने का API: KYC फ़ॉर्म हटाएं

> Didit की KYC प्रश्नावली प्रोग्रामैटिक रूप से हटाएं। इसे संदर्भित करने वाले वर्कफ़्लो अपडेट करें। प्रति कॉल भुगतान, कोई अनुबंध नहीं।



प्रश्नावली हटाने के लिए API प्रॉम्प्ट
        प्रॉम्प्ट को क्लिपबोर्ड पर कॉपी करें



      
      

\<pre>

\`Delete a Didit questionnaire through the Management API.

Endpoint:
DELETE https://verification.didit.me/v3/questionnaires/{questionnaire_uuid}/

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

Goal:
\- Remove a questionnaire that I no longer use.

Path parameter:
\- questionnaire_uuid — the per-version questionnaire UUID returned by GET /v3/questionnaires/ or POST /v3/questionnaires/.

Important semantics:
\- Any workflow that references this questionnaire (via a QUESTIONNAIRE feature with config.questionnaire_uuid) must be updated; otherwise sessions created against that workflow will fail at the questionnaire step.
\- Sessions already in progress are not affected — they continue against the snapshot they were created with.
\- Returns 204 No Content on success with an empty body.

Workflow:
1\. Before deleting, list workflows and check which ones reference this questionnaire (workflow_names on the list response, or inspect features in GET /v3/workflows/{settings_uuid}/).
2\. PATCH any workflows to point at a different questionnaire_uuid or remove the QUESTIONNAIRE feature.
3\. Then DELETE the questionnaire.

Example call:
curl -X DELETE "https://verification.didit.me/v3/questionnaires/{questionnaire_uuid}/" \
-H "x-api-key: YOUR_API_KEY"

Failure modes:
\- 401 — missing or malformed x-api-key.
\- 403 — canonical { "detail": "You do not have permission to perform this action." } envelope when the questionnaire belongs to a different application than the API key.
\- 404 — questionnaire not found in this application; calling DELETE again on the same UUID is also 404.

Side effects:
\- Deletes the questionnaire record.

For the full integration shape, see /integration/integration-prompt.`

\</pre>



      
      

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



## OpenAPI

````yaml hi/openapi-25.json DELETE /v3/questionnaires/{questionnaire_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/questionnaires/{questionnaire_uuid}/:
    delete:
      tags:
        - Questionnaires
      summary: प्रश्नावली हटाएं
      description: >-
        एक प्रश्नावली संस्करण को स्थायी रूप से हटाएं (पूर्ववत नहीं किया जा
        सकता)। इस संस्करण से जुड़े संग्रहीत प्रश्नावली रिस्पॉन्स इसके साथ हटा
        दिए जाते हैं, और इसे संदर्भित करने वाले सत्र लिंक खो देते हैं; उसी समूह
        के अन्य संस्करण नहीं हटाए जाते हैं। इसे संदर्भित करने वाले वर्कफ़्लो
        चलते रहते हैं लेकिन प्रश्नावली चरण अब इसे लोड नहीं कर सकता।
      operationId: delete_questionnaire
      parameters:
        - name: questionnaire_uuid
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: हटाने के लिए प्रश्नावली का प्रति-संस्करण UUID।
      responses:
        '204':
          description: प्रश्नावली हटाई गई। रिस्पॉन्स का मुख्य भाग खाली है।
        '403':
          description: API कुंजी अनुपलब्ध या अमान्य है।
          content:
            application/json:
              examples:
                Invalid token:
                  value:
                    detail: You do not have permission to perform this action.
        '404':
          description: >-
            प्रमाणित एप्लिकेशन के लिए इस `questionnaire_uuid` वाली कोई
            प्रश्नावली मौजूद नहीं है।
          content:
            application/json:
              examples:
                Not found:
                  value:
                    detail: Not found.
        '429':
          description: रेट लिमिट पार हो गई। घातीय बैकऑफ़ के साथ पुनः प्रयास करें।
        '500':
          description: अप्रत्याशित सर्वर त्रुटि। पुनः प्रयास करना सुरक्षित है।
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: >-
            curl -X DELETE
            'https://verification.didit.me/v3/questionnaires/11111111-2222-3333-4444-555555555555/'
            \
              -H 'x-api-key: YOUR_API_KEY'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY.
            client = Didit()

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

            # Reads DIDIT_API_KEY.
            didit = Didit::Client.new

            didit.questionnaires.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.Questionnaires.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.