Avisi cloud logo
Memberships

Add or update a members inside an environment.

POST
/api/v1/orgs/{organisationSlug}/environments/{environmentSlug}/members/{memberIdentity}

Request Body

application/jsonRequired

kubernetesRole
Required
string

Value in: "cluster-admin" | "edit" | "view" | ""

Path Parameters

organisationSlug
Required
string

environmentSlug
Required
string

memberIdentity
Required
string

The organisation member identity of the user.

curl -X POST "http://localhost:8090/api/v1/orgs/string/environments/string/members/string" \
  -H "Content-Type: application/json" \
  -d '{
    "kubernetesRole": "cluster-admin"
  }'

Request was successfully processed. The response body contains the requested data.

[
  {
    "memberIdentity": "c096b660-64e1-4a6d-94c8-298e866b3d9a",
    "email": "string",
    "kubernetesRole": "cluster-admin",
    "createdAt": "2019-08-24T14:15:22Z"
  }
]