GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables

AI-generated

Summary

Add a new variable to a specific pipeline schedule of a project in GitLab by providing the project ID, pipeline schedule ID, and the variable details in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the project to which the pipeline schedule belongs.
  • pipeline_schedule_id (required) — The ID of the pipeline schedule to which the variable will be added.
  • postApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables (required) — An object specifying the variable details to create for the pipeline schedule.
  • baseUrl — Optional base URL to override the default GitLab URL (default: https://gitlab.com).
  • skipAuthentication — Boolean to skip authentication if set to true.

Output shape

a single record

The response will contain the details of the created pipeline schedule variable. Authentication via GitLab API credentials is required unless skipped.

Links

Discussion