Memberships
Manage with memberships which users have access to the resources your organisation owns.
List members inside an organisation.
Query Parameters:
pageable
(Optional. When omitted: pageSize=50, pageNumber=0, sortDirection=ASC)
HTTP Responses codes for "List members inside an organisation."
Status Code | Description |
---|---|
200 | Request was successfully processed. The response body contains the requested data. |
400 | Invalid request parameters. Please review the documentation for valid parameter values. |
403 | You do not have the necessary permissions to access this resource. |
404 | The requested resource could not be found. Please check the resource URL or identifier. |
500 | An internal error occurred on the server. |
Related Objects
OrganisationMembershipResponse
email
objectOne of#/components/schemas/Email
identity
uuidkubernetesRole
stringmemberIdentity
uuidname
stringorganisationIdentity
uuidrole
stringOne ofadmin
developer
billing-admin
viewer
slug
objectOne of#/components/schemas/Slug
PageableObject
offset
int64pageNumber
int32pageSize
int32paged
booleansort
arrayList of#/components/schemas/SortObject
unpaged
boolean
SortObject
ascending
booleandirection
stringignoreCase
booleannullHandling
stringproperty
string
GET /api/v1/memberships
Response
content
arrayList of#/components/schemas/OrganisationMembershipResponse
empty
booleanfirst
booleanlast
booleannumber
int32numberOfElements
int32pageable
objectOne of#/components/schemas/PageableObject
size
int32sort
arrayList of#/components/schemas/SortObject
totalElements
int64totalPages
int32
{ "properties": { "content": { "items": { "$ref": "#/components/schemas/OrganisationMembershipResponse" }, "type": "array" }, "empty": { "type": "boolean" }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, "number": { "format": "int32", "type": "integer" }, "numberOfElements": { "format": "int32", "type": "integer" }, "pageable": { "$ref": "#/components/schemas/PageableObject" }, "size": { "format": "int32", "type": "integer" }, "sort": { "items": { "$ref": "#/components/schemas/SortObject" }, "type": "array" }, "totalElements": { "format": "int64", "type": "integer" }, "totalPages": { "format": "int32", "type": "integer" } }, "type": "object" }
List members inside an environment.
Path Parameters:
organisationSlug
environmentSlug
HTTP Responses codes for "List members inside an environment."
Status Code | Description |
---|---|
200 | Request was successfully processed. The response body contains the requested data. |
400 | Invalid request parameters. Please review the documentation for valid parameter values. |
403 | You do not have the necessary permissions to access this resource. |
404 | The requested resource could not be found. Please check the resource URL or identifier. |
500 | An internal error occurred on the server. |
Related Objects
EnvironmentMember
createdAt
date-timeemail
stringkubernetesRole
stringOne ofcluster-admin
edit
view
memberIdentity
uuid
PageableObject
offset
int64pageNumber
int32pageSize
int32paged
booleansort
arrayList of#/components/schemas/SortObject
unpaged
boolean
SortObject
ascending
booleandirection
stringignoreCase
booleannullHandling
stringproperty
string
GET /api/v1/orgs/{organisationSlug}/environments/{environmentSlug}/members
Response
content
arrayList of#/components/schemas/EnvironmentMember
empty
booleanfirst
booleanlast
booleannumber
int32numberOfElements
int32pageable
objectOne of#/components/schemas/PageableObject
size
int32sort
arrayList of#/components/schemas/SortObject
totalElements
int64totalPages
int32
{ "properties": { "content": { "items": { "$ref": "#/components/schemas/EnvironmentMember" }, "type": "array" }, "empty": { "type": "boolean" }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, "number": { "format": "int32", "type": "integer" }, "numberOfElements": { "format": "int32", "type": "integer" }, "pageable": { "$ref": "#/components/schemas/PageableObject" }, "size": { "format": "int32", "type": "integer" }, "sort": { "items": { "$ref": "#/components/schemas/SortObject" }, "type": "array" }, "totalElements": { "format": "int64", "type": "integer" }, "totalPages": { "format": "int32", "type": "integer" } }, "type": "object" }
Delete a member from an environment (member environment access will revert to organisation member access).
Path Parameters:
organisationSlug
environmentSlug
memberIdentity
(The organisation member identity of the user.)
HTTP Responses codes for "Delete a member from an environment (member environment access will revert to organisation member access)."
Status Code | Description |
---|---|
204 | Request was successfully processed, but there is no response body to return. |
400 | Invalid request parameters. Please review the documentation for valid parameter values. |
403 | You do not have the necessary permissions to access this resource. |
404 | The requested resource could not be found. Please check the resource URL or identifier. |
500 | An internal error occurred on the server. |
DELETE /api/v1/orgs/{organisationSlug}/environments/{environmentSlug}/members/{memberIdentity}
Response
No Content
Add or update a members inside an environment.
Path Parameters:
organisationSlug
environmentSlug
memberIdentity
(The organisation member identity of the user.)
HTTP Responses codes for "Add or update a members inside an environment."
Status Code | Description |
---|---|
200 | Request was successfully processed. The response body contains the requested data. |
400 | Invalid request parameters. Please review the documentation for valid parameter values. |
403 | You do not have the necessary permissions to access this resource. |
404 | The requested resource could not be found. Please check the resource URL or identifier. |
500 | An internal error occurred on the server. |
Request Body Parameters
kubernetesRole
string RequiredOne ofcluster-admin
edit
view
POST /api/v1/orgs/{organisationSlug}/environments/{environmentSlug}/members/{memberIdentity}
Response
No Content
{ "items": { "$ref": "#/components/schemas/EnvironmentMember" }, "type": "array" }