Create Named Credential Access Control Grant

Create Named Credential Access Control Grant

Creates an access-control grant, giving the user the level of access for the namedCredential.

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

id of the namedCredential

string
namedCredentialId
Required

id of the namedCredential


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.