---
updatedAt: 2025-03-14T20:50:52.000Z
agentTools:
  projectIndex: https://developers.palenca.com/llms.txt
---

# Delete Webhook

Delete a webhook by ID.



# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Palenca API",
    "description": "On this page we list all the methods available in the Palenca API, as well as the complete reference of the parameters that each one accepts.\n\n The Palenca API is designed with the REST standard in mind. The API endpoints are grouped by resources, have predictable URLs, responses are formatted in JSON, and we use standard HTTP response, authentication, and verb codes.\n\n We have 2 environments: Sandbox and Production.\n\n **Sandbox**: https://sandbox.palenca.com/v1\n\n **Production**: https://api.palenca.com/v1 \n\n Before joining, we recommend that you familiarize yourself with the [Entities](/docs/v2/Guides/ApiConcepts/Entities) that we manage in Palenca (Users, Accounts, Logins)",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.palenca.com/",
      "description": "Production server (uses live data)"
    },
    {
      "url": "https://sandbox.palenca.com/",
      "description": "Sandbox server (uses test data) "
    }
  ],
  "x-tagGroups": [
    {
      "name": "Account and Login Management",
      "tags": [
        "Users",
        "Accounts",
        "Logins"
      ]
    },
    {
      "name": "Profile Information",
      "tags": [
        "Profile"
      ]
    },
    {
      "name": "Employment information",
      "tags": [
        "Employment Mexico",
        "Employment Brazil"
      ]
    },
    {
      "name": "Earnings information",
      "tags": [
        "Gig earnings",
        "CDT earnings"
      ]
    },
    {
      "name": "Other tools",
      "tags": [
        "Widgets",
        "Webhooks",
        "Consents"
      ]
    }
  ],
  "paths": {
    "/v1/webhooks/{webhook_id}": {
      "delete": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Delete Webhook",
        "operationId": "delete_webhook_v1_webhooks__webhook_id__delete",
        "description": "Delete a webhook by ID.\n\n",
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Webhook Id",
              "type": "string",
              "format": "uuid"
            },
            "name": "webhook_id",
            "in": "path"
          },
          {
            "required": false,
            "schema": {
              "title": "X-Api-Key",
              "description": "You can find your API Keys in https://console.palenca.com/developers/api",
              "type": "string"
            },
            "name": "x-api-key",
            "in": "header"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse_WebhookDataResponse_"
                },
                "example": {
                  "success": true,
                  "error": null,
                  "data": null
                }
              }
            }
          },
          "404": {
            "description": "Webhook Not Found Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPWebhookNotFoundError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BaseResponse_WebhookDataResponse_": {
        "title": "BaseResponse[WebhookDataResponse]",
        "required": [
          "success"
        ],
        "type": "object",
        "properties": {
          "success": {
            "title": "Success",
            "type": "boolean"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorResponse"
          },
          "data": {
            "$ref": "#/components/schemas/WebhookDataResponse"
          }
        },
        "example": {
          "success": true,
          "data": {},
          "error": {}
        }
      },
      "ErrorDetailResponse": {
        "title": "ErrorDetailResponse",
        "type": "object",
        "properties": {
          "message": {
            "title": "Message",
            "type": "string"
          },
          "location": {
            "title": "Location",
            "type": "string"
          }
        }
      },
      "ErrorResponse": {
        "title": "ErrorResponse",
        "type": "object",
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          },
          "errors": {
            "title": "Errors",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorDetailResponse"
            }
          }
        }
      },
      "HTTPWebhookNotFoundError": {
        "title": "HTTPWebhookNotFoundError",
        "type": "object",
        "$ref": "#/components/schemas/WebhookNotFoundError"
      },
      "WebhookNotFoundError": {
        "title": "WebhookNotFoundError",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "error": {
            "type": "object"
          },
          "data": {
            "type": "array",
            "items": {}
          }
        },
        "example": {
          "success": false,
          "error": {
            "code": "webhook_not_found",
            "message": "Webhook not found",
            "errors": null
          },
          "data": null
        }
      },
      "WebhookDataResponse": {
        "title": "WebhookDataResponse",
        "required": [
          "webhook_id",
          "url",
          "name",
          "is_sandbox"
        ],
        "type": "object",
        "properties": {
          "widget_id": {
            "title": "Widget Id",
            "type": "string",
            "format": "uuid"
          },
          "webhook_id": {
            "title": "Webhook Id",
            "type": "string",
            "format": "uuid"
          },
          "url": {
            "title": "Url",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "is_sandbox": {
            "title": "Is Sandbox",
            "type": "boolean"
          },
          "is_active": {
            "title": "Is Active",
            "type": "boolean",
            "default": true
          },
          "sign_request": {
            "title": "Sign Request",
            "type": "boolean"
          },
          "private_key": {
            "title": "Private Key",
            "type": "string"
          }
        }
      }
    }
  }
}
```