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

# Remove Webhook Campaign

## Overview

The "Remove Webhook from Campaign" endpoint allows users to detach a webhook from a specific campaign in Toingg. By sending a POST request to the `/remove_webhook_campaign` endpoint, users can remove the association between a webhook and a campaign, ensuring that the webhook no longer triggers actions based on campaign-specific events. This functionality is crucial for managing integrations and ensuring that only relevant webhooks are active for specific campaigns, thereby maintaining efficient and accurate operations.

#### Example cURL Request

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


## OpenAPI

````yaml POST /remove_webhook_campaingn
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.toingg.com/api/v3
security: []
paths:
  /remove_webhook_campaingn:
    post:
      tags:
        - Webhook handling
      summary: Remove Webhook Campaingn
      operationId: remove_webhook_campaingn_remove_webhook_campaingn_post
      parameters:
        - name: webhookId
          in: query
          required: true
          schema:
            type: string
            title: Webhookid
        - name: campaignId
          in: query
          required: true
          schema:
            type: string
            title: Campaignid
      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

````