GitLab API

GitlabTool

Actions1095

Projects → putApiV4ProjectsIdTriggersTriggerId

AI-generated

Summary

Update a specific trigger of a GitLab project by its project ID and trigger ID, providing updated trigger data in the request body.

Inputs

  • baseUrl — Optional base URL of the GitLab instance; defaults to https://gitlab.com if not specified.
  • id (required) — The ID or URL-encoded path of the project whose trigger is to be updated.
  • trigger_id (required) — The ID of the trigger token to update.
  • putApiV4ProjectsIdTriggersTriggerId (required) — The request body containing the fields to update for the specified trigger.
  • skipAuthentication — Flag to skip authentication for this request; defaults to false.

Output shape

a JSON object representing the updated project trigger resource

The operation returns the updated trigger details as JSON. It requires all path parameters (project ID and trigger ID) and a JSON body with the updated trigger information. Authentication is used by default unless explicitly skipped.

Links

Discussion