linear.admin.remove_webhook ​
Remove or deactivate a Linear webhook.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-linear |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | string | No | — | — |
webhook_id | string | No | — | — |
callback_url | string | No | — | — |
deactivate_only | boolean | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
webhook_id | string | No | — | — |
removed | boolean | No | — | — |
deactivated | boolean | No | — | — |
already_absent | boolean | No | — | — |
warnings | list | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
failed_at | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "linear.admin.remove_webhook",
"initial_data": {
"connection_uuid": "value",
"webhook_id": "value",
"callback_url": "value",
"deactivate_only": true
}
}