POST
/
api
/
service
/
webhook-subscription
/
delete
JavaScript
import Ivy from '@getivy/node-sdk';

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

const subscription = await client.webhook.subscription.delete({ id: {} });

console.log(subscription.success);
{
  "success": true
}

Authorizations

X-Ivy-Api-Key
string
header
required

API key for authentication

Body

application/json

Response

200 - application/json

Returns success if deleted, an error otherwise.

The response is of type object.