module Gitlab::Client::Projects

def delete_project_hook(project, id)

Returns:
  • (Gitlab::ObjectifiedHash) - Information about deleted hook.

Parameters:
  • id (String) -- The ID of the hook.
  • project (Integer, String) -- The ID or path of a project.
def delete_project_hook(project, id)
  delete("/projects/#{url_encode project}/hooks/#{id}")
end