---
title: "PUT /v1/configurations/{configuration-id}"
method: PUT
path: "/v1/configurations/{configuration-id}"
---

# PUT /v1/configurations/{configuration-id}

`PUT /v1/configurations/{configuration-id}`

Updates the specified configuration.

## Path parameters

- `configuration-id` string, required

## Request body

- object
  - `data` string, required — Required. The base64-encoded XML configuration.
  - `description` string — The description of the configuration.

## Response `200`

Success

- UpdateConfigurationResponse
  - `Arn` string — Required. The Amazon Resource Name (ARN) of the configuration.
  - `Created` string, date-time — Required. The date and time of the configuration.
  - `Id` string — Required. The unique ID that Amazon MQ generates for the configuration.
  - `LatestRevision` object — The latest revision of the configuration.
    - `Created` string, date-time, required — Required. The date and time of the configuration revision.
    - `Description` string — The description of the configuration revision.
    - `Revision` integer, required — Required. The revision number of the configuration.
  - `Name` string — Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
  - `Warnings` SanitizationWarning[] — The list of the first 20 warnings about the configuration XML elements or attributes that were sanitized.
    - `AttributeName` string — The name of the XML attribute that has been sanitized.
    - `ElementName` string — The name of the XML element that has been sanitized.
    - `Reason` 'DISALLOWED_ELEMENT_REMOVED' | 'DISALLOWED_ATTRIBUTE_REMOVED' | 'INVALID_ATTRIBUTE_VALUE_REMOVED', required — Required. The reason for which the XML elements or attributes were sanitized.

## Other responses

- `480` — NotFoundException
- `481` — BadRequestException
- `482` — InternalServerErrorException
- `483` — ConflictException
- `484` — ForbiddenException

---

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