UNPKG

@broadcom/endevor-bridge-for-git-rest-api

Version:

Endevor Bridge for Git Rest client

12 lines (11 loc) 372 B
import { GlobalAction } from "../GlobalAction"; import { RequestMethod } from "../../AbstractRequest"; export class DeleteGlobalWebhook extends GlobalAction { constructor(webhookId) { super(); this.customPath = "/webhook"; this.method = RequestMethod.DELETE; this.webhookId = webhookId; this.params = { id: webhookId }; } }