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

# Delete Webhook Endpoint

> Delete a webhook endpoint. Deleted endpoints stop receiving webhook events.



## OpenAPI

````yaml DELETE /webhook/endpoints/{id}
openapi: 3.1.0
info:
  title: Clink API
  description: >-
    Official API documentation for Clink's payment processing platform. This API
    enables merchants to create and manage payment sessions, handle
    subscriptions, and process transactions.
  version: 1.0.0
servers:
  - url: https://uat-api.clinkbill.com/api/
security:
  - ApiKeyAuth: []
    timestamp: []
paths:
  /webhook/endpoints/{id}:
    delete:
      summary: Delete Webhook Endpoint
      description: >-
        Delete a webhook endpoint. Deleted endpoints stop receiving webhook
        events.
      operationId: deleteWebhookEndpoint
      parameters:
        - name: id
          in: path
          description: Unique identifier of the webhook endpoint.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Webhook endpoint deleted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RWebhookVoidResponse'
              examples:
                example:
                  value:
                    code: 200
                    msg: Success
                    data: null
            '*/*':
              schema:
                $ref: '#/components/schemas/RWebhookVoidResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClinkErrorResponse'
        '404':
          description: Endpoint not found or not owned by the current merchant
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClinkErrorResponse'
components:
  schemas:
    RWebhookVoidResponse:
      type: object
      properties:
        code:
          type: integer
          description: Response status code, 200 when success
          format: int32
          example: 200
        msg:
          type: string
          description: Brief description of what happened, 'success' when happy case
          example: Success
        data:
          type: 'null'
          description: No response data is returned.
      description: Body of the response message
    ClinkErrorResponse:
      type: object
      properties:
        code:
          type: integer
          format: int32
          description: Error code returned by Clink.
        msg:
          type: string
          description: Error message.
        data:
          description: Additional error data, usually null.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Your secret API key obtained from the Clink dashboard (Developers
        section)
    timestamp:
      type: apiKey
      in: header
      name: X-Timestamp
      description: >-
        Current timestamp in milliseconds since Unix epoch (required for request
        signing)

````