Forgejo API
DELETE/admin/hooks/{id}

Delete a global system webhook

Deletes a global system webhook by its identifier. Supply id for the hook you want to remove; the operation does not require a request body. A successful response contains no response body.

1 parameter
idintegerrequired
The 64-bit integer identifier of the hook to delete.

1 status code
204Returned with an empty response after the hook has been deleted.

Error handling

id must be an integer identifying the global webhook to delete. Deleting the hook removes its global webhook configuration.