[{"label":"Latest (v1)","version":"latest"}]
vmware-aria-operations-for-logs

Create Role

Description

Apart 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

Request

URL

URL


post
https://{api_host}/vrlic/api/v1/access-control/role
Copy

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


featureAccessList Required

List of feature accesses for the given role


string
id Required

A unique feature access roles identifier.


array of DatasetDto
datasetList Optional

List of datasets for the given role


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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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


featureAccessList Required

List of feature accesses for the given role


string
id Required

A unique feature access roles identifier.


array of DatasetDto
datasetList Optional

List of datasets for the given role


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 Samples

Code 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
Feedback

Was this page helpful?