Delete a registered Validator Marketplace webhook

import { NorthstakeApi } from '@northstake/northstakeapi' const api = new NorthstakeApi('apiKey', 'privateKey') const webhookId= 'a1a1a1_a1a1a1_a1a1_a1a1a1' const deletion = await api.validatorMarketplaceWebhooks.deleteWebhook('webhook-id') if (deletion.status === 204) { console.log('Webhook deleted') } else { console.log('Webhook deletion failed') }

📘

For more inspiration, check out these recipes involving validator marketplace webhooks

Path Params
string
required

Unique identifier of the registered webhook

Responses
204

Webhook successfully deleted

404

Webhook not found

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json