GitLab API

GitlabTool

Actions1095

Projects → deleteApiV4ProjectsIdHooksHookIdCustomHeadersKey

AI-generated

Summary

Delete a specific custom header from a project's hook in GitLab by providing the project ID, hook ID, and the header key.

Inputs

  • id (required) — The ID of the GitLab project.
  • hook_id (required) — The ID of the hook associated with the project.
  • key (required) — The key of the custom header to be deleted.
  • skipAuthentication — Optionally skip authentication for this request (default is false).
  • baseUrl — Custom base URL for the GitLab instance (defaults to https://gitlab.com).

Output shape

no body – success/failure only

The operation sends a DELETE request to the path /api/v4/projects/{id}/hooks/{hook_id}/custom_headers/{key} and returns no content upon success; errors are returned otherwise.

Links

Discussion