GitLab API

GitlabTool

Actions1095

Debian_distribution → putApiV4GroupsIdDebianDistributionsCodename

AI-generated

Summary

Update an existing Debian distribution's details within a specific GitLab group by specifying the group's ID or path and the Debian codename, providing the update data in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group whose Debian distribution you want to update.
  • codename (required) — The Debian distribution codename to identify which distribution to update (e.g., 'sid').
  • putApiV4GroupsIdDebianDistributionsCodename (required) — An object containing the properties to update for the Debian distribution, according to the GitLab API's defined schema.

Output shape

a single record representing the updated Debian distribution resource returned from GitLab's API.

The operation sends a PUT request to the GitLab API endpoint /api/v4/groups/{id}/-/debian_distributions/{codename} and returns the updated Debian distribution information as JSON. Authentication via GitLab API credentials is required unless explicitly skipped.

Examples

Example 1: Update Debian distribution codename 'sid' for group with ID '123'.

Provide '123' as the 'id', 'sid' as the 'codename', and supply the update object in 'putApiV4GroupsIdDebianDistributionsCodename' containing the fields to change.

Links

Discussion