GitLab API

GitlabTool

Actions1095

Project_hooks → putApiV4ProjectsIdHooksHookId

AI-generated

Summary

Update an existing project hook by specifying the project ID and hook ID, providing the updated hook details in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the project whose hook is to be updated.
  • hook_id (required) — The ID of the project hook to update.
  • putApiV4ProjectsIdHooksHookId (required) — Request body containing the updated properties for the project hook.
  • baseUrl — Override the base URL of the GitLab instance (defaults to https://gitlab.com).
  • skipAuthentication — Boolean to skip authentication; defaults to false.

Output shape

a single updated project hook object

Returns the updated project hook details as per GitLab API. Requires authentication unless skipAuthentication is set to true.

Links

Discussion