Clusters

Update a cluster's member

Changed on

User must have the CLUSTER_MEMBER[UPDATE] permission.

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
    • HTTP basic
    • or API key in cookie Auth-Graviteeio-APIM

Request body

roleNamestring required

The name of the role

Response

Updated member

idstring

Member's uuid.

displayNamestring

Member's name.

Example response

{
  "id": "00f8c9e7-78fc-4907-b8c9-e778fc790750",
  "displayName": "John Doe",
  "roles": [
    {
      "name": "OWNER"
    }
  ]
}

Changes

    • warning

      added the new AI_WORKSPACE enum value to the // response property for the response status

    • warning

      added the new EXPLORER enum value to the // response property for the response status