Avisi cloud logo
Organisations

Add a member to an organisation.

POST
/api/v1/organisations/{organisationSlug}/members

Request Body

application/jsonRequired

usernamestring

Minimum length: 0Maximum length: 255

rolestring

Value in: "admin" | "developer" | "billing-admin" | "viewer"

kubernetesRolestring

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

emailobject

Path Parameters

organisationSlug
Required
string

curl -X POST "http://localhost:8090/api/v1/organisations/string/members" \
  -H "Content-Type: application/json" \
  -d '{
    "username": "string",
    "role": "admin",
    "kubernetesRole": "cluster-admin",
    "email": {
      "email": "string"
    }
  }'

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