[{"label":"Latest (v1)","version":"latest"}]
vmware-aria-operations-for-logs
Create Role
DescriptionApart from the default VMware Services roles, you can create additional roles for users. Assigning these roles to users lets you control access to VMware Aria Operations for Logs features
Request
URLURL
https://{api_host}/vrlic/api/v1/access-control/role
Request Body
Request Body
PublicApiFeatureAccessRoleDto
of mimetype application/json
Required
{
"featureAccessList": [
{
"allowedActions": [
"READ"
],
"name": "CONTENT.*"
}
],
"id": "string",
"name": "string"
}
string
name
Required
A unique feature access role name
array of
PublicApiFeatureAccessDto
featureAccessList
Required
List of feature accesses for the given role
string
id
Required
A unique feature access roles identifier.
string
description
Optional
Feature access roles description that is shown in the UI
string
displayName
Optional
Feature access role display name that is shown in the UI
string
cspOrgId
Optional
Unique ID associated with the org
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
PublicApiFeatureAccessRoleDto
of type */*
{
"cspOrgId": "string",
"datasetList": [
{
"constraints": {
"constraints": "QueryConstraint Object",
"fieldName": "string",
"operator": "AND",
"tags": [
"string"
],
"value": "string"
},
"cspOrgId": "string",
"description": "string",
"id": "string",
"name": "string",
"restrictAutocomplete": false,
"restricts": false
}
],
"description": "string",
"displayName": "string",
"featureAccessList": [
{
"allowedActions": [
"READ"
],
"description": "string",
"name": "CONTENT.*"
}
],
"id": "string",
"name": "string"
}
string
name
Required
A unique feature access role name
array of
PublicApiFeatureAccessDto
featureAccessList
Required
List of feature accesses for the given role
string
id
Required
A unique feature access roles identifier.
string
description
Optional
Feature access roles description that is shown in the UI
string
displayName
Optional
Feature access role display name that is shown in the UI
string
cspOrgId
Optional
Unique ID associated with the org
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"cspOrgId":"string","datasetList":[{"constraints":{"constraints":"QueryConstraint Object","fieldName":"string","operator":"AND","tags":["string"],"value":"string"},"cspOrgId":"string","description":"string","id":"string","name":"string","restrictAutocomplete":false,"restricts":false}],"description":"string","displayName":"string","featureAccessList":[{"allowedActions":["READ"],"description":"string","name":"CONTENT.*"}],"id":"string","name":"string"}' https://{api_host}/vrlic/api/v1/access-control/role
[{"label":"Latest (v1)","version":"latest"}]
vmware-aria-operations-for-logs
Access Control Operations
post
post
delete
delete
get
get
get
get
get
put
put