---
title: "Update a Debian group distribution"
method: PUT
path: "/api/v4/groups/{id}/-/debian_distributions/{codename}"
tags: ["packages_debian"]
---

# Update a Debian group distribution

`PUT /api/v4/groups/{id}/-/debian_distributions/{codename}`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/groups/{id}/-/debian_distributions/{codename}`
- Auth: none declared

Updates a specified Debian group distribution for a group.

## Path parameters

- `id` string, required
- `codename` string, required

## Request body

- PutApiV4GroupsIdDebianDistributionsCodename: Update a Debian group distribution
  - `suite` string: The Debian Suite
  - `origin` string: The Debian Origin
  - `label` string: The Debian Label
  - `version` string: The Debian Version
  - `description` string: The Debian Description
  - `valid_time_duration_seconds` integer: The duration before the Release file should be considered expired by the client
  - `components` string[]: The list of Components
  - `architectures` string[]: The list of Architectures

## Response `200`

Update a Debian group distribution

- APIEntitiesPackagesDebianDistribution: API_Entities_Packages_Debian_Distribution model
  - `id` integer, required
  - `codename` string, required
  - `suite` string, required
  - `origin` string, required
  - `label` string, required
  - `version` string, required
  - `description` string, required
  - `valid_time_duration_seconds` integer, required
  - `components` string[], required
  - `architectures` string[], required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/gitlab/apis/gitlab-api.md) - [All operations](https://skmtc.dev/gitlab/apis/gitlab-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitlab/apis/gitlab-api/revisions/b234947ef3f2?raw)
