Skip to content
  • Auto
  • Light
  • Dark
Get Started

Delete

Delete
client.webhooks.delete(stringid, WebhookDeleteParamsparams?, RequestOptionsoptions?): WebhookDeleteResponse
delete/api/v1/webhooks/{id}

Invokes the c1.api.webhooks.v1.WebhooksService.Delete method.

Parameters
idstring

The id field.

paramsbodyunknownWebhookDeleteParams
Hide ParametersShow Parameters
bodyunknown
optional

The WebhooksServiceDeleteRequest message.

Returns
WebhookDeleteResponsealias
unknown

Empty response body. Status code indicates success.

Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';

const client = new ConductoroneSDK({
  apiKey: 'My API Key',
});

const webhook = await client.webhooks.delete('id');

console.log(webhook);
200 Example
{}