Delete Hook

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

DELETE /hooks/{hookId}
import { v0 } from 'v0-sdk'

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

console.log(result)
DELETE /hooks/{hookId}
curl -X DELETE https://api.v0.dev/hooks/123 \
  -H "Authorization: Bearer $V0_API_KEY" \
  -H "Content-Type: application/json"

Parameters

Path Parameters

hookId string Required

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


Response

Response Body

id string Required


object string Required


deleted boolean Required