All URIs are relative to https://localhost/api/v45
Method | HTTP request | Description |
---|---|---|
read_auth_roles_metadata | GET /authRoleMetadatas | Returns a list of the auth roles' metadata for the built-in roles. |
ApiAuthRoleMetadataList read_auth_roles_metadata(view=view)
Returns a list of the auth roles' metadata for the built-in roles.
Returns a list of the auth roles' metadata for the built-in roles.
from __future__ import print_function
import time
import cm_client
from cm_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic
configuration = cm_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = cm_client.AuthRoleMetadatasResourceApi(cm_client.ApiClient(configuration))
view = 'summary' # str | (optional) (default to summary)
try:
# Returns a list of the auth roles' metadata for the built-in roles.
api_response = api_instance.read_auth_roles_metadata(view=view)
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthRoleMetadatasResourceApi->read_auth_roles_metadata: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
view | str | [optional] [default to summary] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]