Commands
lin webhook
Manage workspace webhooks
Manage workspace webhooks
lin webhook create
Create a webhook
lin webhook createExample
lin webhook create --url https://ci.example.com/hook --resource-types Issue,Comment --team ENG| Flag | Type | Default | Description |
|---|---|---|---|
--all-public-teams | bool | false | subscribe to all public teams |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--json | string | - | raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags |
--label | string | - | webhook label |
--resource-types | stringSlice | [] | resource types (comma list, e.g. Issue,Comment,Project) |
--team, -t | string | - | restrict to a team (key or UUID) |
--url | string | - | delivery URL |
lin webhook delete
Delete a webhook (requires --confirm)
lin webhook delete <id>| Flag | Type | Default | Description |
|---|---|---|---|
--confirm | string | - | confirm the destructive action by repeating the resource id |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
lin webhook list
List webhooks
lin webhook list| Flag | Type | Default | Description |
|---|---|---|---|
--all, -a | bool | false | follow cursors until exhaustion |
--cursor | string | - | resume from a previous next_cursor |
--limit, -l | int | 50 | page size |
lin webhook rotate-secret
Rotate a webhook's signing secret
lin webhook rotate-secret <id>| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run, -n | bool | false | print the intended operation and variables without executing |
lin webhook update
Update a webhook
lin webhook update <id>| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--enabled | bool | true | enable or disable the webhook |
--label | string | - | webhook label |
--resource-types | stringSlice | [] | resource types (comma list) |
--url | string | - | delivery URL |