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

# Update webhook endpoint

> Update an existing webhook endpoint configuration.



## OpenAPI

````yaml /openapi/v0/openapi.json patch /v0/webhooks/{id}
openapi: 3.0.0
info:
  title: Superbank API
  description: Superbank Developer API for Instant Settlement
  version: '1.0'
  contact: {}
servers:
  - url: https://api-sandbox.superbank.co
    description: Sandbox
security: []
tags: []
paths:
  /v0/webhooks/{id}:
    patch:
      tags:
        - Webhooks
      summary: Update webhook endpoint
      description: Update an existing webhook endpoint configuration.
      operationId: OutboundWebhookController_updateWebhook
      parameters:
        - name: id
          required: true
          in: path
          description: Webhook endpoint ID
          schema:
            example: wh_abc123
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhookDto'
      responses:
        '200':
          description: Webhook endpoint updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEndpoint'
        '400':
          description: Bad request - invalid update data
        '401':
          description: Unauthorized - invalid or missing API key
        '404':
          description: Webhook endpoint not found
      security:
        - api-key: []
components:
  schemas:
    UpdateWebhookDto:
      type: object
      properties:
        url:
          type: string
          description: Updated HTTPS URL to receive webhook notifications
          example: https://your-app.com/webhooks/superbank-v2
        active:
          type: boolean
          description: Enable or disable the webhook endpoint
          example: true
    WebhookEndpoint:
      type: object
      properties: {}
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-Api-Key

````