> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mapp.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Delete webhook
> Deletes an existing webhook subscription for the company.
Behavior:
- After deletion, no further events are delivered to that callback URL.
- If the webhook does not exist, nothing is deleted and 404 is returned.
## OpenAPI
````json DELETE /api/webhooks-management/webhooks/{id}
{
"openapi": "3.0.1",
"info": {
"title": "Product Catalog API",
"version": "1.0.0",
"x-source-versions": {
"upc": "1.0.3",
"webhooks": "1.0.0"
}
},
"servers": [
{
"url": "https://api.mapp.com"
}
],
"security": [
{
"Keycloak": []
}
],
"tags": [
{
"name": "Variant Data Bulk Operations",
"description": "Endpoints for variant data bulk operations"
},
{
"name": "Variant Data Operations",
"description": "Endpoints for variant data operations"
},
{
"name": "Catalog Metadata Operations",
"description": "Endpoints for catalog metadata operations"
},
{
"name": "Product Data Operations",
"description": "Endpoints for product data operations"
},
{
"name": "Webhooks Management",
"description": "Manage webhook subscriptions. See Register webhook for delivery headers and signature verification."
}
],
"paths": {
"/api/webhooks-management/webhooks/{id}": {
"delete": {
"tags": [
"Webhooks Management"
],
"summary": "Delete webhook",
"description": "Deletes an existing webhook subscription for the company.
Behavior:
- After deletion, no further events are delivered to that callback URL.
- If the webhook does not exist, nothing is deleted and 404 is returned.",
"operationId": "delete",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Webhook subscription identifier.",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "Webhook deleted successfully. The exact success body is returned from the metadata service.",
"content": {
"text/plain": {
"schema": {
"type": "string"
},
"example": "Webhook deleted successfully"
}
}
},
"404": {
"description": "Webhook subscription was not found for this company.",
"content": {
"text/plain": {
"schema": {
"type": "string"
},
"example": "Webhook not found"
}
}
}
}
}
}
},
"components": {
"securitySchemes": {
"Keycloak": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT"
}
}
}
}
````