GitLab API icon

GitLab API

Gitlab

Actions1062

Project_hooks → deleteApiV4ProjectsIdHooksHookId

AI-generated

Summary

Deletes a specific project hook in GitLab.

Inputs

  • id (required) — The ID or URL-encoded path of the project (e.g., project ID or URL-encoded namespace/project name).
  • hook_id (required) — The numeric ID of the project hook to delete.
  • skipAuthentication — If true, skips using credentials; otherwise uses the GitLab API credential.
  • authentication — Hidden; selects the GitLab API credential (default: gitlabApi).
  • baseUrl — Base URL for GitLab instance (default: https://gitlab.com).

Output shape

object

Returns the response from the GitLab API (typically an empty body with HTTP 204 on success).

Examples

Example 1: Delete hook 123 from project 456

Set id=456, hook_id=123

Links

Discussion