PUT https://<VCD IP or FQDN>/cloudapi/1.0.0/catalogContentSources/urn:vcloud:catalogContentSource:<VMware MarketPlace ID from the above POST call>/accessControls
Headers:
Accept: application/json;version=39.0.0-alpha
Content-Type: application/json;version=39.0.0-alpha
Authorization: Bearer XXXXX
Body:
{
"resultTotal": 1,
"pageCount": 1,
"page": 1,
"pageSize": 25,
"associations": null,
"values": [
{
"id": "urn:vcloud:accessControl:8f3f6906-####-####-####-########98d",
"tenant": {
"name": "<name of Org>",
"id": "urn:vcloud:org:<id of org>"
},
"grantType": "MembershipAccessControlGrant",
"objectId": "urn:vcloud:catalogContentSource:<VMware MarketPlace ID from the above POST call>:<VMware MarketPlace ID from the above POST call>",
"accessLevelId": "urn:vcloud:accessLevel:ReadOnly",
"memberId": "urn:vcloud:org:<id of org>"
}
]
}
NOTE: The ID of the Organization can be taken from the VCD URL, i.e. https://<VCD IP or FQDN>/provider/cloud/organizations/urn:vcloud:org:#######/configure/general