GitLab API

GitlabTool

Actions1095

Projects → putApiV4ProjectsIdPipelinesPipelineIdMetadata

AI-generated

Summary

Update the metadata of a specified pipeline in a GitLab project by providing the project ID or URL-encoded path and the pipeline ID, along with the metadata content in the request body.

Inputs

  • Skip Authentication — Boolean to skip authentication; defaults to false.
  • baseUrl — The base URL for the GitLab instance; defaults to https://gitlab.com.
  • Path Parameters (required) — Collection containing 'id' (the project ID or URL-encoded path) and 'pipeline_id' (the pipeline ID). Both are required to identify the pipeline to update.
  • Request Body (required) — The metadata to update on the pipeline; must conform to the defined schema for the PUT operation.

Output shape

a single JSON object representing the updated pipeline metadata

The response returns the updated metadata for the pipeline. The request requires authentication unless 'Skip Authentication' is set to true. Errors occur if required path parameters or request body are missing or invalid.

Examples

Example 1: Update pipeline metadata

Provide the project identifier and pipeline ID, then supply the metadata fields to update in the request body.

Links

Discussion