Get specific role
This endpoint returns a specific role object.
GET /openapi/v1/roles/{role_id}
Parameters: The request URL contains the following parameters
Name |
Type |
Description |
---|---|---|
role_id |
string |
Uniquely identifies the role. |
Response object: Returns a role object associated with the specified ID.
Sample python code
role_id = '<role-id>'
restclient.get('/roles/%s' % role_id)