Vapi Metadata Privilege Service Operation get
Retrieves the privilege information about an operation element corresponding to operationId contained in the service element corresponding to serviceId.
Identifier of the service element.
The parameter must be an identifier for the resource type: com.vmware.vapi.service
.
Identifier of the operation element.
The parameter must be an identifier for the resource type: com.vmware.vapi.operation
.
The Vapi Metadata Privilege OperationInfo instance that corresponds to operationId.
{
"privileges": [
"string"
],
"privilege_info": [
{
"property_path": "string",
"privileges": [
"string"
]
}
]
}
List of all privileges assigned to the operation element.
Privilege information of all the parameter elements of the operation element.
For an explanation of containment of privilege information within parameter elements, see Vapi Metadata Privilege PrivilegeInfo.
if the service element associated with serviceId does not exist.
if the operation element associated with operationId does not exist.
if the operation element associated with operationId does not have any privilege information.
"Vapi Std Errors NotFound Object"
curl -H 'Authorization: <value>' https://{api_host}/api/vapi/metadata/privilege/service/{serviceId}/operation/{operationId}