GitLab API

GitlabTool

Actions1095

Projects → putApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey

AI-generated

Summary

Update a specific pipeline schedule variable for a project in GitLab by specifying the project ID, pipeline schedule ID, and variable key, along with the variable details in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the project.
  • pipeline_schedule_id (required) — The ID of the pipeline schedule.
  • key (required) — The key name of the variable to update.
  • putApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey (required) — The request body containing the update data for the variable.
  • skipAuthentication — Option to skip authentication (generally false).
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.

Output shape

an object representing the updated pipeline schedule variable

Returns the updated variable object as per GitLab API's response to the PUT /projects/:id/pipeline_schedules/:pipeline_schedule_id/variables/:key endpoint.

Links

Discussion