GitLab API icon

GitLab API

Gitlab

Actions1062

System_hooks → putApiV4HooksHookId

AI-generated

Summary

Updates an existing GitLab system hook by ID using a PUT request.

Inputs

  • hook_id (required) — The ID of the system hook to update.
  • putApiV4HooksHookId (required) — The body schema for the update request.
  • skipAuthentication — When set to true, skips the Gitlab API authentication.
  • authentication — 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

a single record

The response data corresponds to the updated system hook resource provided by the GitLab API.

Examples

Example 1: Update a specific system hook with new webhook URL.

Set hook_id to the target hook ID, configure the request body schema with the updated details (e.g., url, push_events), and ensure authentication is active.

Links

Discussion