> ## Documentation Index
> Fetch the complete documentation index at: https://docs.toingg.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Webhook

## Overview

The "Update Webhook" endpoint allows users to modify existing webhook configurations in Toingg. By sending a POST request to the `/update_webhook` endpoint, users can update various attributes of a webhook, such as its name, event path, HTTP method, and any associated headers or JSON data. This functionality is essential for maintaining accurate and effective integrations with external systems, ensuring that webhooks continue to trigger the desired actions in response to specific events. The endpoint supports updates to enhance the webhook's performance and alignment with evolving business needs.

#### Example cURL Request

```bash theme={null}
curl -X POST \
  'https://api.toingg.com/api/v3/delete_webhook?webhookId=YOUR_WEBHOOK_ID' \
 -H 'accept: application/json' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' 
  -d ' YOUR_WEBHOOK_ID '
```


## OpenAPI

````yaml POST /delete_webhook
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.toingg.com/api/v3
security: []
paths:
  /delete_webhook:
    post:
      tags:
        - Webhook handling
      summary: Delete Webhook
      operationId: delete_webhook_delete_webhook_post
      parameters:
        - name: webhookId
          in: query
          required: true
          schema:
            type: string
            title: Webhookid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: login

````