GitLab API icon

GitLab API

Gitlab

Actions1062

Hooks → deleteApiV4HooksHookIdCustomHeadersKey

AI-generated

Summary

Removes a specified custom header key from a GitLab hook.

Inputs

  • hook_id (required) — The ID of the GitLab hook.
  • key (required) — The key of the custom header to delete.

Output shape

No body — success/failure only

Returns standard HTTP response codes; use the response node to inspect errors.

Examples

Example 1: Remove a header named 'X-Custom-Auth' from hook ID 123.

Path parameters: hook_id=123, key=X-Custom-Auth

Links

Discussion