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

# Delete Webhook Endpoint

> Permanently remove a webhook endpoint and cancel queued deliveries.

Deleting an endpoint disables it, hides it from endpoint listings, and cancels
its pending, retrying, or in-progress deliveries. Historical event and delivery
logs remain available until normal retention cleanup.

This action cannot be reversed. Create a new endpoint if you need to restore
delivery later.


## OpenAPI

````yaml reference/openapi.json DELETE /webhooks/endpoints/{endpoint_id}
openapi: 3.0.0
info:
  title: Unifystays API
  description: >-
    One unified hotel API across suppliers. Integrate once, then enable and
    manage suppliers from the Unifystays portal.
  version: '1.0'
  contact: {}
servers:
  - url: https://api-sandbox.unifystays.com
    description: Sandbox
  - url: https://api.unifystays.com
    description: Production
security:
  - x-api-key: []
tags: []
paths:
  /webhooks/endpoints/{endpoint_id}:
    delete:
      tags:
        - Webhooks
      summary: Delete a webhook endpoint
      operationId: WebhookController_deleteEndpoint
      parameters:
        - name: endpoint_id
          required: true
          in: path
          description: Webhook endpoint UUID.
          schema:
            example: 8b95a9e0-4af3-4c6d-92df-84b64256d27f
            type: string
        - name: language
          description: Enter language code(ex. en)
          in: header
          schema: {}
      responses:
        '200':
          description: Webhook endpoint deleted and queued deliveries cancelled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookSuccessResponseDto'
components:
  schemas:
    WebhookSuccessResponseDto:
      type: object
      properties:
        success:
          type: boolean
          example: true
          description: Whether the requested operation completed successfully.
      required:
        - success
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: Environment-specific API key created in the Unifystays portal

````