[{"label":"Latest (v36.3)","version":"latest"},{"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

Get Role

Description

Get specified role

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
id Required

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=36.3
This response body class contains all of the following: RightsMapping, InlineRole1
Errors

Errors

404

Not Found

Code Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/roles/{id}


[{"label":"Latest (v36.3)","version":"latest"},{"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?