---
title: "PUT /packaging_groups/{id}"
method: PUT
path: "/packaging_groups/{id}"
---

# PUT /packaging_groups/{id}

`PUT /packaging_groups/{id}`

Updates a specific packaging group. You can't change the id attribute or any other system-generated attributes.

## Path parameters

- `id` string, required

## Request body

- object
  - `authorization` object — CDN Authorization credentials
    - `CdnIdentifierSecret` string — The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
    - `SecretsRoleArn` string — The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.

## Response `200`

Success

- UpdatePackagingGroupResponse
  - `ApproximateAssetCount` integer — The approximate asset count of the PackagingGroup.
  - `Arn` string — The ARN of the PackagingGroup.
  - `Authorization` object — CDN Authorization credentials
    - `CdnIdentifierSecret` string, required — The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
    - `SecretsRoleArn` string, required — The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
  - `CreatedAt` string — The time the PackagingGroup was created.
  - `DomainName` string — The fully qualified domain name for Assets in the PackagingGroup.
  - `EgressAccessLogs` object — Configure egress access logging.
    - `LogGroupName` string — Customize the log group name.
  - `Id` string — The ID of the PackagingGroup.
  - `Tags` object — A collection of tags associated with a resource

## Other responses

- `480` — UnprocessableEntityException
- `481` — InternalServerErrorException
- `482` — ForbiddenException
- `483` — NotFoundException
- `484` — ServiceUnavailableException
- `485` — TooManyRequestsException

---

[API](https://skmtc.net/aws/apis/mediapackage-vod.md) · [All operations](https://skmtc.net/aws/apis/mediapackage-vod/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/mediapackage-vod/versions/2c9e82c3b418/schema)
