GitLab API

GitlabTool

Actions1095

Hooks → putApiV4HooksHookIdCustomHeadersKey

AI-generated

Summary

Sets the value of a custom header on a GitLab hook by sending a request to /api/v4/hooks/{hook_id}/custom_headers/{key}. The operation declares a required hook ID and header key; the node source identifies GitLab API credentials and a configurable base URL.

Inputs

  • Skip Authentication — Defaults to false. When enabled, hides the GitLab API authentication selector.
  • Base URL — Defaults to https://gitlab.com; the node source says the actual base URL is defined by the gitlabApi credential.
  • Method — HTTP method selector, defaulting to GET, with GET, POST, PUT, DELETE, HEAD, and PATCH available. The operation path is for setting a custom header; the source pack does not show how this selector affects the request.
  • Hook_id (required) — Hook ID used in the request path.
  • Key (required) — Custom header key used in the request path.
  • Authentication — Hidden selector defaults to GitlabApi and is shown only when Skip Authentication is false. The node declares GitLab API credentials as required.

Output shape

Not determinable from the provided source pack.

The operation properties declare the path /api/v4/hooks/{hook_id}/custom_headers/{key} and a required body schema reference, but expose no body input. The source pack does not include the OpenAPI definition or the request execution and response handling, so the request body requirements and returned data shape are unclear.

Links

Discussion