GitLab API

GitlabTool

Actions1095

Projects → deleteApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey

AI-generated

Summary

Delete a specific variable by its key from a pipeline schedule of a GitLab project.

Inputs

  • id (required) — The ID or URL-encoded path of the project from which to delete the pipeline schedule variable.
  • pipeline_schedule_id (required) — The ID of the pipeline schedule containing the variable to delete.
  • key (required) — The key of the pipeline schedule variable to delete.
  • skipAuthentication — Optionally skip authentication (default is false).
  • baseUrl — Base URL of the GitLab instance, defaults to https://gitlab.com.

Output shape

no body — success/failure only

The operation sends a DELETE request; on success it returns no content in the body, indicating the variable was deleted. Standard HTTP error codes apply for failures.

Examples

Example 1: Delete a variable named NEW_VARIABLE from pipeline schedule ID 13 in project with ID 18

Set 'id' to '18', 'pipeline_schedule_id' to '13', and 'key' to 'NEW_VARIABLE'. Use default authentication and base URL unless overriding.

Links

Discussion