---
title: "PUT /v1/brokers/{broker-id}/users/{username}"
method: PUT
path: "/v1/brokers/{broker-id}/users/{username}"
---

# PUT /v1/brokers/{broker-id}/users/{username}

`PUT /v1/brokers/{broker-id}/users/{username}`

Updates the information for an ActiveMQ user.

## Path parameters

- `broker-id` string, required
- `username` string, required

## Request body

- object
  - `consoleAccess` boolean — Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
  - `groups` String[] — The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
  - `password` string — The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).

## Response `200`

Success

- UpdateUserResponse

## 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)
