GitLab API icon

GitLab API

Gitlab

Actions1062

Hooks → putApiV4HooksHookIdCustomHeadersKey

AI-generated

Summary

Updates a specific custom header key for a GitLab webhook hook using the GitLab API.

Inputs

  • hook_id (required) — The ID of the hook.
  • key (required) — The key of the custom header to update.
  • skipAuthentication — Skips authentication if true.
  • authentication (required) — The authentication method to use (defaults to GitlabApi).
  • baseUrl — The base URL of the GitLab instance (defaults to https://gitlab.com).
  • method — The HTTP method to use (defaults to get).

Output shape

no body — success/failure only

Returns the result of the GitLab API PUT request.

Examples

Example 1: Update a custom header key for a webhook hook

Configure Hook_id and Key from previous node, set Method to PUT, and include the new header value in the body.

Links

Discussion