[{"label":"Latest (v1)","version":"latest"}]
vrealize-log-insight-cloud-service

Create Role

Description

Apart from the default VMware Cloud Services roles, you can create additional roles for users. Assigning these roles to users lets you control access to vRealize Log Insight Cloud 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


string
id Required

A unique feature access roles identifier.


featureAccessList Required

List of feature accesses for the given role


string
displayName Optional

Feature access role display name that is shown in the UI


boolean
defaultRole Optional

System internal field


string
description Optional

Feature access roles description that is shown in the UI


array of DatasetDto
datasetList Optional

List of datasets for the given role


string
cspOrgId Optional

Unique ID associated with the org


string
createdBy Optional

Email ID of the user who created this feature access role


boolean
internal Optional

System internal field


string
lastUpdatedAt Optional

ISO8601 date string that informs when this feature access role was updated


string
lastUpdatedBy Optional

Email ID of the user who updated this feature access role


string
createdAt Optional

ISO8601 date string that informs when this feature access role was created

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns PublicApiFeatureAccessRoleDto of type */*
{
	"createdAt": "string",
	"createdBy": "string",
	"cspOrgId": "string",
	"datasetList": [
		{
			"constraints": {
				"constraints": [
					{
						"fieldName": "text",
						"operator": "CONTAINS",
						"value": "error"
					}
				],
				"fieldName": "string",
				"operator": "AND",
				"tags": [
					"string"
				],
				"value": "string"
			},
			"createdAt": "string",
			"createdBy": "string",
			"cspOrgId": "string",
			"description": "string",
			"id": "string",
			"lastUpdatedAt": "string",
			"lastUpdatedBy": "string",
			"name": "string",
			"restrictAutocomplete": false,
			"restricts": false
		}
	],
	"defaultRole": false,
	"description": "string",
	"displayName": "string",
	"featureAccessList": [
		{
			"allowedActions": [
				"READ"
			],
			"description": "string",
			"name": "CONTENT.*"
		}
	],
	"id": "string",
	"internal": false,
	"lastUpdatedAt": "string",
	"lastUpdatedBy": "string",
	"name": "string"
}
string
name Required

A unique feature access role name


string
id Required

A unique feature access roles identifier.


featureAccessList Required

List of feature accesses for the given role


string
displayName Optional

Feature access role display name that is shown in the UI


boolean
defaultRole Optional

System internal field


string
description Optional

Feature access roles description that is shown in the UI


array of DatasetDto
datasetList Optional

List of datasets for the given role


string
cspOrgId Optional

Unique ID associated with the org


string
createdBy Optional

Email ID of the user who created this feature access role


boolean
internal Optional

System internal field


string
lastUpdatedAt Optional

ISO8601 date string that informs when this feature access role was updated


string
lastUpdatedBy Optional

Email ID of the user who updated this feature access role


string
createdAt Optional

ISO8601 date string that informs when this feature access role was created

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"createdAt":"string","createdBy":"string","cspOrgId":"string","datasetList":[{"constraints":{"constraints":[{"fieldName":"text","operator":"CONTAINS","value":"error"}],"fieldName":"string","operator":"AND","tags":["string"],"value":"string"},"createdAt":"string","createdBy":"string","cspOrgId":"string","description":"string","id":"string","lastUpdatedAt":"string","lastUpdatedBy":"string","name":"string","restrictAutocomplete":false,"restricts":false}],"defaultRole":false,"description":"string","displayName":"string","featureAccessList":[{"allowedActions":["READ"],"description":"string","name":"CONTENT.*"}],"id":"string","internal":false,"lastUpdatedAt":"string","lastUpdatedBy":"string","name":"string"}' https://{api_host}/vrlic/api/v1/access-control/role


[{"label":"Latest (v1)","version":"latest"}]
vrealize-log-insight-cloud-service
Feedback

Was this page helpful?