Update Access Control Grants
Resets list of access-control grants, giving the users the level of access for the Kubernetes namespace.
Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/kubernetesClusters/{clusterId}/namespaces/{namespaceId}/accessControls
COPY
Path Parameters
string
clusterId
Required
clusterId
string
namespaceId
Required
namespaceId
string
clusterId
Required
clusterId
string
namespaceId
Required
namespaceId
Request Body
AccessControlGrants of type(s) application/json
Optional
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"id": "string",
"tenant": {
"name": "string",
"id": "string"
},
"grantType": "string",
"objectId": "string",
"accessLevelId": "urn:vcloud:accessLevel:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
]
}
Responses
200
OK
Returns AccessControlGrants of type(s) application/json;version=39.0
This response body class contains all of the following: Page , InlineAccessControlGrants1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"id": "string",
"tenant": {
"name": "string",
"id": "string"
},
"grantType": "string",
"objectId": "string",
"accessLevelId": "urn:vcloud:accessLevel:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
]
}
Availability
Added in 40.0.0-alpha
On This Page
Kubernetes Namespace Operations
POST
Create Access Control Grant
GET
Get Access Control Grant
GET
Get Kubernetes Namespace
GET
Query Access Control Grants
GET
Query Kubernetes Namespaces
DELETE
Remove Access Control Grant
PUT
Update Access Control Grant
PUT
Update Access Control Grants