Update Access Control Grant

Update Access Control Grant

Updates the specified access-control grant for the Kubernetes namespace.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/kubernetesClusters/{clusterId}/namespaces/{namespaceId}/accessControls/{accessControlId}
COPY
Path Parameters
string
clusterId
Required

clusterId

string
namespaceId
Required

namespaceId

string
accessControlId
Required

accessControlId

string
clusterId
Required

clusterId

string
namespaceId
Required

namespaceId

string
accessControlId
Required

accessControlId


Request Body
AccessControlGrant of type(s) application/json
Optional
{
    "id": "string",
    "tenant": {
        "name": "string",
        "id": "string"
    },
    "grantType": "string",
    "objectId": "string",
    "accessLevelId": "urn:vcloud:accessLevel:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
string
id
Optional

VcloudId URN identifier for ACL grant

tenant
Optional

Entity reference used to describe VCD entities

string
grantType
Required

Indicates whether this access control grant is based on user memberships or entitlements

string
objectId
Optional

The object that this access control grant applies to

string
accessLevelId
Required

The ID of the level of access which the subject will be granted.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns AccessControlGrant of type(s) application/json;version=39.0
{
    "id": "string",
    "tenant": {
        "name": "string",
        "id": "string"
    },
    "grantType": "string",
    "objectId": "string",
    "accessLevelId": "urn:vcloud:accessLevel:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
string
id
Optional

VcloudId URN identifier for ACL grant

tenant
Optional

Entity reference used to describe VCD entities

string
grantType
Required

Indicates whether this access control grant is based on user memberships or entitlements

string
objectId
Optional

The object that this access control grant applies to

string
accessLevelId
Required

The ID of the level of access which the subject will be granted.