MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / deleteWebhook

Method deleteWebhook

integrations/linear/src/webhooks.ts:94–106  ·  view source on GitHub ↗
(key: IntegrationTaskKey, params: { id: string })

Source from the content-addressed store, hash-verified

92 }
93
94 deleteWebhook(key: IntegrationTaskKey, params: { id: string }): LinearReturnType<DeletePayload> {
95 return this.runTask(
96 key,
97 async (client, task, io) => {
98 return serializeLinearOutput(await client.deleteWebhook(params.id));
99 },
100 {
101 name: "Delete Webhook",
102 params,
103 properties: [{ label: "Webhook ID", text: params.id }],
104 }
105 );
106 }
107
108 updateWebhook(
109 key: IntegrationTaskKey,

Callers

nothing calls this directly

Calls 2

serializeLinearOutputFunction · 0.90
runTaskMethod · 0.45

Tested by

no test coverage detected