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

Upsert Entity Access

Description

You can share a dashboard to make it visible to other users. You can assign read and write permissions to the users in your organization, based on their roles

Request

Request

URL

URL


put
https://{api_host}/vrlic/api/v1/content/dashboards/access-control
Copy

Request Body

Request Body

array of PublicApiEntityAccessDto of mimetype application/json Required
{
	"id": "string",
	"private": false,
	"readRoles": [
		{
			"featureAccessList": [
				{
					"allowedActions": [
						"READ"
					],
					"name": "CONTENT.*"
				}
			],
			"id": "string",
			"name": "string"
		}
	],
	"updateRoles": [
		{
			"featureAccessList": [
				{
					"allowedActions": [
						"READ"
					],
					"name": "CONTENT.*"
				}
			],
			"id": "string",
			"name": "string"
		}
	]
}
updateRoles Required

Set of feature access update roles for given entity


string
id Required

A unique entity access identifier.


boolean
private Required

It represents whether the dashboard is private (dashboards that are accessible/visible to the user who created it)


readRoles Required

Set of feature access read roles for given entity


string
cspOrgId Optional

Unique ID associated with the org


string
owner Optional

Name of the owner of this entity


requesterRoles Optional

Set of feature access requester roles for given entity


string
entityType Optional

All allowed entity types (QUERY, ALERT,DASHBOARD, INGESTION, EVENT_FORWARDING, METRIC_EXTRACTION, EXTRACTED_FIELD)

Possible values are: QUERYALERTDASHBOARDINGESTIONEVENT_FORWARDINGMETRIC_EXTRACTIONEXTRACTED_FIELD

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns array of PublicApiEntityAccessDto of type */*
{
	"cspOrgId": "string",
	"entityType": "QUERY",
	"id": "string",
	"owner": "string",
	"private": false,
	"readRoles": [
		{
			"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"
		}
	],
	"requesterRoles": [
		{
			"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"
		}
	],
	"updateRoles": [
		{
			"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"
		}
	]
}
updateRoles Required

Set of feature access update roles for given entity


string
id Required

A unique entity access identifier.


boolean
private Required

It represents whether the dashboard is private (dashboards that are accessible/visible to the user who created it)


readRoles Required

Set of feature access read roles for given entity


string
cspOrgId Optional

Unique ID associated with the org


string
owner Optional

Name of the owner of this entity


requesterRoles Optional

Set of feature access requester roles for given entity


string
entityType Optional

All allowed entity types (QUERY, ALERT,DASHBOARD, INGESTION, EVENT_FORWARDING, METRIC_EXTRACTION, EXTRACTED_FIELD)

Possible values are: QUERYALERTDASHBOARDINGESTIONEVENT_FORWARDINGMETRIC_EXTRACTIONEXTRACTED_FIELD

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '[{"cspOrgId":"string","entityType":"QUERY","id":"string","owner":"string","private":false,"readRoles":[{"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"}],"requesterRoles":[{"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"}],"updateRoles":[{"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/content/dashboards/access-control


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

Was this page helpful?