GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → postApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables

AI-generated

Summary

Create a new variable for a specific pipeline schedule within a GitLab project by providing the project ID or path, the pipeline schedule ID, and the variable details in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the project where the pipeline schedule exists.
  • pipeline_schedule_id (required) — The ID of the pipeline schedule to which the variable will be added.
  • postApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables (required) — An object containing the details of the variable to create on the pipeline schedule.

Output shape

a single record representing the created pipeline schedule variable

Returns the created variable object as per GitLab API response. Requires authentication via gitlabApi credential unless Skip Authentication is enabled.

Links

Discussion