@broadcom/endevor-bridge-for-git-rest-api
Version:
Endevor Bridge for Git Rest client
12 lines (11 loc) • 372 B
JavaScript
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 };
}
}