Add Defined Entity Type Access
Adds an access control configuration of an entity type's behavior
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/entityTypes/{id}/behaviorAccessControls
COPY
Path Parameters
string
id
Required
id
string
id
Required
id
Request Body
BehaviorAccess of type(s) application/json
Required
{
"behaviorId": "urn:vcloud:behavior-interface:testNode:vendorA:containerCluster:1.0.0",
"accessLevelId": "urn:vcloud:accessLevel:ReadOnly"
}
string
behaviorId
Optional
The ID of the Behavior. It can be both a behavior-interface or an overriden behavior-type ID.
string
accessLevelId
Optional
The ID of an AccessLevel.
Responses
200
Ok
Returns BehaviorAccess of type(s) application/json;version=36.3
{
"behaviorId": "urn:vcloud:behavior-interface:testNode:vendorA:containerCluster:1.0.0",
"accessLevelId": "urn:vcloud:accessLevel:ReadOnly"
}
string
behaviorId
Optional
The ID of the Behavior. It can be both a behavior-interface or an overriden behavior-type ID.
string
accessLevelId
Optional
The ID of an AccessLevel.
400
Invalid configuration.
Returns Error of type(s) application/json;version=36.3
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 35.0
On This Page
Defined Interface Behaviors Operations
POST
Add Defined Entity Type Access
POST
Add Interface Behavior
DELETE
Delete Interface Behavior
GET
Get Defined Entity Type Access
GET
Get Defined Entity Type Behaviors
GET
Get Interface Behavior
GET
Get Interface Behaviors
GET
Get Type Behavior
POST
Invoke Defined Entity Behavior
DELETE
Remove Behavior Override
PUT
Set Defined Entity Type Access
PUT
Update Interface Behavior
PUT
Update Interface Behaviors
PUT
Update Type Behavior