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

# Delete a webhook

> Removes a webhook registration based on the provided URL for the authenticated user.



## OpenAPI

````yaml POST /deleteWebhook
openapi: 3.1.0
info:
  title: Inkless API
  description: >-
    API for the Inkless document signing service. Create documents from
    templates, manage webhooks, and retrieve document status.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.useinkless.com
security:
  - apiKeyAuth: []
paths:
  /deleteWebhook:
    post:
      summary: Delete a webhook
      description: >-
        Removes a webhook registration based on the provided URL for the
        authenticated user.
      operationId: deleteWebhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteWebhookRequest'
      responses:
        '200':
          description: Webhook successfully deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteWebhookResponse'
        '400':
          description: Invalid request or missing required parameter (url).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized (API key missing, invalid, or expired).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Webhook not found or already deleted for the authenticated user.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    DeleteWebhookRequest:
      type: object
      required:
        - url
      properties:
        url:
          type: string
          format: uri
          description: The URL of the webhook to be deleted.
    DeleteWebhookResponse:
      type: object
      properties:
        message:
          type: string
          description: Success message indicating the webhook was deleted.
        url:
          type: string
          format: uri
          description: The URL of the webhook that was deleted.
    Error:
      type: object
      required:
        - message
      properties:
        error:
          type: integer
          format: int32
          description: Optional error code.
        message:
          type: string
          description: A human-readable error message.
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````