Update Vdc Compute Policy Access Control Grant

Update Vdc Compute Policy Access Control Grant

Update access-control grant for a vdc compute policy to subproviders

Request
URI
PUT
https://{api_host}/cloudapi/2.0.0/vdcComputePolicies/{vdcComputePolicyId}/accessControls
COPY
Path Parameters
string
vdcComputePolicyId
Required

id of the vdc compute policy

string
vdcComputePolicyId
Required

id of the vdc compute policy


Request Body
AccessControlGrants of type(s) application/json
Optional
This request body class requires 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"
        }
    ]
}
Authentication
This operation uses the following authentication methods.
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"
        }
    ]
}