Discohook
  1. GitHub
Discohook
  • Discohook API
  • Reference
  • Discohook CDN
  • Using Discohook as an external message designer or previewer
  • Changelog
  • Share Links
    • Create Share Link
      POST
    • Get Share Link
      GET
  • Link Preview
    • Unfurl URL Embed
      GET
  • GitHub
    • Execute GitHub-Compatible Webhook in Forum Channel
      POST
    • Delete Records of Past GitHub-Compatible Webhook Execution Posts
      DELETE
  • Schemas
    • Query Data
      • QueryDataMessage
      • QueryDataVersion
      • QueryData
      • QueryDataTarget
    • Discord
      • Components
        • APIButtonComponentBase
        • ComponentType
        • APIBaseComponent
        • APIMessageComponentEmoji
        • ButtonStyle
        • APIButtonComponentWithURL
        • APIButtonComponentWithCustomId
        • APIButtonComponent
        • APIMessageActionRowComponent
        • APIBaseSelectMenuComponent
        • APISelectMenuOption
        • APIStringSelectComponent
        • APIBaseAutoPopulatedSelectMenuComponent
      • APIEmbed
      • EmbedType
  1. GitHub

Delete Records of Past GitHub-Compatible Webhook Execution Posts

Production
https://discohook.app/api/v1
Production
https://discohook.app/api/v1
DELETE
https://discohook.app/api/v1
/webhooks/{webhookId}/{webhookToken}/github
This endpoint will fetch the webhook using its ID and token, then delete all stored GitHub Post records for that webhook's current channel ID.

Request

Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://discohook.app/api/v1/webhooks/ID of the webhook/Token of the webhook/github'

Responses

🟢200Success
application/json
Body

Example
{
    "deleted": 1
}
🟠400No Applicable Records
🟠404Unknown Webhook
Modified at 2026-03-11 15:07:10
Previous
Execute GitHub-Compatible Webhook in Forum Channel
Next
QueryDataMessage
Built with