---
updatedAt: 2025-10-31T16:44:50.000Z
agentTools:
  projectIndex: https://dev.iugu.com/llms.txt
---

# Remover Gatilho

Remove um gatilho

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "gatilhos",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.iugu.com/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "api_token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/web_hooks/{id}": {
      "delete": {
        "summary": "Remover Gatilho",
        "description": "Remove um gatilho",
        "operationId": "remover-gatilho",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "ID do Gatilho",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"id\": \"N37ZZ9X2GBS59MT37SPGOGDDBTX4HGZ4\",\n  \"url\": \"https://dev.iugu.com/reference/criar-gatilho-teste-2\",\n  \"authorization\": null,\n  \"event\": \"invoice.created\",\n  \"active\": true\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "N37ZZ9X2GBS59MT37SPGOGDDBTX4HGZ4"
                    },
                    "url": {
                      "type": "string",
                      "example": "https://dev.iugu.com/reference/criar-gatilho-teste-2"
                    },
                    "authorization": {},
                    "event": {
                      "type": "string",
                      "example": "invoice.created"
                    },
                    "active": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```