[{"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

Update Role

Description

Update specified role

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
id Required

Request Body

Request Body

Role of type(s) application/json Required
This request body class requires all of the following: RightsMapping, InlineRole1
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns Role of type(s) application/json;version=37.2
This response body class contains all of the following: RightsMapping, InlineRole1

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"bundleKey":"string","description":"string","id":"string","name":"string","readOnly":false}' https://{api_host}/cloudapi/1.0.0/roles/{id}


[{"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?