---
updatedAt: 2026-06-23T11:32:21.000Z
agentTools:
  projectIndex: https://docs.zeplin.dev/llms.txt
---

# Delete a webhook of a user

Delete a webhook by id

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Zeplin API",
    "description": "Access your resources in Zeplin",
    "version": "0.0.0",
    "contact": {
      "name": "Zeplin",
      "url": "https://zeplin.io",
      "email": "support@zeplin.io"
    }
  },
  "servers": [
    {
      "url": "https://api.zeplin.dev"
    }
  ],
  "security": [
    {
      "OAuth2": []
    }
  ],
  "paths": {
    "/v1/users/me/webhooks/{webhook_id}": {
      "delete": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Delete a webhook of a user",
        "description": "Delete a webhook by id",
        "operationId": "DeleteUserWebhook",
        "parameters": [
          {
            "$ref": "#/components/parameters/webhook_id"
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/noContent",
            "content": {
              "application/json": {
                "schema": {
                  "title": "No Content",
                  "nullable": true,
                  "type": "object",
                  "properties": {}
                },
                "examples": {
                  "Successful Response": {
                    "value": "No Content"
                  }
                }
              }
            },
            "description": "Successful response: Returns without content"
          },
          "403": {
            "$ref": "#/components/responses/cannotDeleteUserWebhook"
          },
          "404": {
            "$ref": "#/components/responses/userWebhookNotFound"
          }
        },
        "x-readme": {
          "samples-languages": [
            "node",
            "curl",
            "python",
            "swift",
            "kotlin"
          ],
          "code-samples": [
            {
              "language": "node",
              "code": "import { \n  ZeplinApi, \n  Configuration \n}  from \"@zeplin/sdk\";\n\nconst zeplin = new ZeplinApi(\n  new Configuration({ \n    accessToken: \"YOUR_ACCESS_TOKEN\"\n  })\n);\n\nconst { \n  data \n} = await zeplin.webhooks.deleteUserWebhook(\n  \"WEBHOOK_ID\"\n);",
              "name": "sdk"
            }
          ]
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "title": "Error Response",
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "A user readable descriptive message for the error"
          },
          "detail": {
            "type": "string",
            "description": "A detailed message describing the error"
          },
          "code": {
            "type": "string",
            "description": "The unique code for the error"
          }
        },
        "example": {
          "$ref": "#/components/examples/error"
        }
      }
    },
    "examples": {
      "error": {
        "summary": "Error",
        "value": {
          "message": "Project is not found"
        }
      }
    },
    "parameters": {
      "webhook_id": {
        "name": "webhook_id",
        "in": "path",
        "description": "Webhook id",
        "required": true,
        "schema": {
          "type": "string",
          "pattern": "/^[0-9a-f]{24}$/i"
        }
      }
    },
    "responses": {
      "cannotDeleteUserWebhook": {
        "description": "User cannot delete webhook",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "User cannot delete webhook": {
                "value": {
                  "message": "User cannot delete webhooks created by Zeplin apps"
                }
              }
            }
          }
        }
      },
      "noContent": {
        "description": "Successful response"
      },
      "userWebhookNotFound": {
        "description": "Webhook not found response",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "Webhook not found response": {
                "value": {
                  "message": "Webhook not found"
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "/v1/oauth/authorize",
            "tokenUrl": "/v1/oauth/token",
            "refreshUrl": "/v1/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  }
}
```