[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Replace Rights In Role

Description

Replaces the existing set of rights in role with the rights (as references) supplied.

Request

Request

URL

URL


put
https://{api_host}/cloudapi/1.0.0/roles/{id}/rights
Copy

Path Parameters

Path Parameters

string
id Required

Request Body

Request Body

EntityReferences of type(s) application/json Required
This request body class requires all of the following: Page, InlineEntityReferences1
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns EntityReferences of type(s) application/json;version=37.2
This response body class contains all of the following: Page, InlineEntityReferences1

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"associations":[{"associationId":"string","entityId":"string"}],"page":0,"pageCount":0,"pageSize":0,"resultTotal":0,"values":[{"id":"string","name":"string"}]}' https://{api_host}/cloudapi/1.0.0/roles/{id}/rights


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?