Create Access Control Grant

Create Access Control Grant

Creates an access-control grant, giving the user the level of access for the catalog content source entity.

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

catalogContentSourceId

string
catalogContentSourceId
Required

catalogContentSourceId


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

tenant

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
201

Created

Returns AccessControlGrant of type(s) application/json;version=38.1
{
    "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

tenant

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.