Update Access Control Grants

Update Access Control Grants

Resets list of access-control grants, giving the users the level of access for the catalog content source entity.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/catalogContentSources/{catalogContentSourceId}/accessControls
COPY
Path Parameters
string
catalogContentSourceId
Required

catalogContentSourceId

string
catalogContentSourceId
Required

catalogContentSourceId


Request Body
AccessControlGrants of type(s) application/json
Required
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=38.1
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"
        }
    ]
}