---
title: "Update a cluster's member"
method: PUT
path: "/clusters/{clusterId}/members/{memberId}"
tags: ["Clusters"]
---

# Update a cluster's member

`PUT /clusters/{clusterId}/members/{memberId}`

## Request

- Base URL: `/management/v2/environments/DEFAULT` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/management/v2/environments/DEFAULT/clusters/{clusterId}/members/{memberId}`
- Auth: one of:
  - HTTP basic
  - API key in cookie `Auth-Graviteeio-APIM`

User must have the CLUSTER_MEMBER[UPDATE] permission.

## Request body

- UpdateMember
  - `roleName` string, required: The name of the role

## Response `200`

Updated member

- Member
  - `id` string: Member's uuid.
  - `displayName` string: Member's name.
  - `roles` Role[]: The list of roles for this Member.
    - `name` string: Role's name.
    - `scope` 'API' | 'APPLICATION' | 'GROUP' | 'ENVIRONMENT' | 'ORGANIZATION' | 'PLATFORM' | 'INTEGRATION' | 'CLUSTER' | 'API_PRODUCT' | 'AI_CATALOG' | 'EXPLORER' | 'AI_WORKSPACE': Scope of a role.

## Other responses

- `default`: Generic error response

## Changes

- **2026-07-29** `85691063daf3`: 1 warning
  - added the new `AI_WORKSPACE` enum value to the `roles/items/scope` response property for the response status `200`
- **2026-07-21** `9ca54e4978f6`: 1 warning
  - added the new `EXPLORER` enum value to the `roles/items/scope` response property for the response status `200`
- **2026-06-23** `3da0ac8a4f72`: 1 warning, 1 info
  - added the new `AI_CATALOG` enum value to the `roles/items/scope` response property for the response status `200`
  - removed the `CATALOG` enum value from the `roles/items/scope` response property for the response status `200`
- **2026-06-22** `760aad84364f`: 1 warning
  - added the new `CATALOG` enum value to the `roles/items/scope` response property for the response status `200`
- **2026-01-26** `39e3ff2bd9d5`: 1 warning
  - added the new `API_PRODUCT` enum value to the `roles/items/scope` response property for the response status `200`

[Operation history](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/changes/clusters/:clusterId/members/:memberId/put.md)

---

[API](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments.md) - [All operations](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/llms.txt) - [OpenAPI document](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/revisions/b736a7e375df?raw)
