v0 Platform API/API Reference/Hooks

Delete Hook

Deletes a webhook based on its ID. This action is irreversible.

DELETE/v1/hooks/{hookId}

Usage

TypeScript Example
import { v0 } from 'v0-sdk'

const result = await v0.hooks.delete({
  hookId: '123',
})

console.log(result)

API Signature

Request

Path Parameters

hookId: string

The ID of the webhook to delete. Provided as a path parameter.

Response

id: string
object: 'hook'
deleted: 'true'