All URIs are relative to /api/v57
Method | HTTP request | Description |
---|---|---|
read_config | GET /cm/authService/roleConfigGroups/{roleConfigGroupName}/config | Returns the current revision of the config for the specified role config group in the Authentication Service. |
read_role_config_group | GET /cm/authService/roleConfigGroups/{roleConfigGroupName} | Returns the information for a given role config group in the Authentication Service. |
read_role_config_groups | GET /cm/authService/roleConfigGroups | Returns the information for all role config groups in the Authentication Service. |
read_roles | GET /cm/authService/roleConfigGroups/{roleConfigGroupName}/roles | Returns all roles in the given role config group in the Authentication Service. |
update_config | PUT /cm/authService/roleConfigGroups/{roleConfigGroupName}/config | Updates the config for the given role config group in the Authentication Service. |
update_role_config_group | PUT /cm/authService/roleConfigGroups/{roleConfigGroupName} | Updates an existing role config group in the Authentication Service. |
ApiConfigList read_config(role_config_group_name, view=view)
Returns the current revision of the config for the specified role config group in the Authentication Service.
Returns the current revision of the config for the specified role config group in the Authentication Service.
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.AuthServiceRoleConfigGroupsResourceApi(cm_client.ApiClient(configuration))
role_config_group_name = 'role_config_group_name_example' # str | The name of the role config group.
view = 'summary' # str | The view of the data to materialize, either \"summary\" or \"full\". (optional) (default to summary)
try:
# Returns the current revision of the config for the specified role config group in the Authentication Service.
api_response = api_instance.read_config(role_config_group_name, view=view)
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthServiceRoleConfigGroupsResourceApi->read_config: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
role_config_group_name | str | The name of the role config group. | |
view | str | The view of the data to materialize, either "summary" or "full". | [optional] [default to summary] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiRoleConfigGroup read_role_config_group(role_config_group_name)
Returns the information for a given role config group in the Authentication Service.
Returns the information for a given role config group in the Authentication Service.
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.AuthServiceRoleConfigGroupsResourceApi(cm_client.ApiClient(configuration))
role_config_group_name = 'role_config_group_name_example' # str | The name of the requested group.
try:
# Returns the information for a given role config group in the Authentication Service.
api_response = api_instance.read_role_config_group(role_config_group_name)
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthServiceRoleConfigGroupsResourceApi->read_role_config_group: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
role_config_group_name | str | The name of the requested group. |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiRoleConfigGroupList read_role_config_groups()
Returns the information for all role config groups in the Authentication Service.
Returns the information for all role config groups in the Authentication Service.
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.AuthServiceRoleConfigGroupsResourceApi(cm_client.ApiClient(configuration))
try:
# Returns the information for all role config groups in the Authentication Service.
api_response = api_instance.read_role_config_groups()
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthServiceRoleConfigGroupsResourceApi->read_role_config_groups: %s\n" % e)
This endpoint does not need any parameter.
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiRoleList read_roles(role_config_group_name)
Returns all roles in the given role config group in the Authentication Service.
Returns all roles in the given role config group in the Authentication Service.
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.AuthServiceRoleConfigGroupsResourceApi(cm_client.ApiClient(configuration))
role_config_group_name = 'role_config_group_name_example' # str | The name of the role config group.
try:
# Returns all roles in the given role config group in the Authentication Service.
api_response = api_instance.read_roles(role_config_group_name)
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthServiceRoleConfigGroupsResourceApi->read_roles: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
role_config_group_name | str | The name of the role config group. |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiConfigList update_config(role_config_group_name, body=body, message=message)
Updates the config for the given role config group in the Authentication Service.
Updates the config for the given role config group in the Authentication Service.
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.AuthServiceRoleConfigGroupsResourceApi(cm_client.ApiClient(configuration))
role_config_group_name = 'role_config_group_name_example' # str | The name of the role config group.
body = cm_client.ApiConfigList() # ApiConfigList | The new config information for the group. (optional)
message = 'message_example' # str | Optional message describing the changes. (optional)
try:
# Updates the config for the given role config group in the Authentication Service.
api_response = api_instance.update_config(role_config_group_name, body=body, message=message)
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthServiceRoleConfigGroupsResourceApi->update_config: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
role_config_group_name | str | The name of the role config group. | |
body | ApiConfigList | The new config information for the group. | [optional] |
message | str | Optional message describing the changes. | [optional] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiRoleConfigGroup update_role_config_group(role_config_group_name, body=body, message=message)
Updates an existing role config group in the Authentication Service.
Updates an existing role config group in the Authentication Service.
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.AuthServiceRoleConfigGroupsResourceApi(cm_client.ApiClient(configuration))
role_config_group_name = 'role_config_group_name_example' # str | The name of the group to update.
body = cm_client.ApiRoleConfigGroup() # ApiRoleConfigGroup | The updated role config group. (optional)
message = 'message_example' # str | The optional message describing the changes. (optional)
try:
# Updates an existing role config group in the Authentication Service.
api_response = api_instance.update_role_config_group(role_config_group_name, body=body, message=message)
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthServiceRoleConfigGroupsResourceApi->update_role_config_group: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
role_config_group_name | str | The name of the group to update. | |
body | ApiRoleConfigGroup | The updated role config group. | [optional] |
message | str | The optional message describing the changes. | [optional] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]