You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.AuthorizationApi();\n\ntry:\n # Get authorization role settings\n api_response = api_instance.get_authorization_roles_settings()\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling AuthorizationApi->get_authorization_roles_settings: %s\\n\" % e)"
6022
+
},
6016
6023
"get_authorization_settings": {
6017
6024
"operationId": "get_authorization_settings",
6018
6025
"functionName": "get_authorization_settings",
@@ -6427,6 +6434,20 @@
6427
6434
"return": "OrganizationRoleEntityListing",
6428
6435
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.AuthorizationApi();\nbody = [PureCloudPlatformClientV2.DomainOrganizationRole()] # list[DomainOrganizationRole] | Organization roles list\n\ntry:\n # Restore specified default roles\n api_response = api_instance.put_authorization_roles_default(body)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling AuthorizationApi->put_authorization_roles_default: %s\\n\" % e)"
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.AuthorizationApi();\nbody = PureCloudPlatformClientV2.RoleSettings() # RoleSettings | Authorization Role Settings\n\ntry:\n # Change authorization role settings\n api_response = api_instance.put_authorization_roles_settings(body)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling AuthorizationApi->put_authorization_roles_settings: %s\\n\" % e)"
6450
+
},
6430
6451
"put_user_roles": {
6431
6452
"operationId": "put_user_roles",
6432
6453
"functionName": "put_user_roles",
@@ -22070,6 +22091,30 @@
22070
22091
],
22071
22092
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.KnowledgeApi();\nknowledge_base_id = 'knowledge_base_id_example' # str | Knowledge base ID.\nbody = PureCloudPlatformClientV2.KnowledgeDocumentPresentation() # KnowledgeDocumentPresentation | (optional)\n\ntry:\n # Indicate that documents were presented to the user.\n api_instance.post_knowledge_knowledgebase_documents_presentations(knowledge_base_id, body=body)\nexcept ApiException as e:\n print(\"Exception when calling KnowledgeApi->post_knowledge_knowledgebase_documents_presentations: %s\\n\" % e)"
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.KnowledgeApi();\nknowledge_base_id = 'knowledge_base_id_example' # str | Knowledge Base ID\nexpand = ['expand_example'] # list[str] | Fields, if any, to expand for each document in the search result matching the query. (optional)\nbody = PureCloudPlatformClientV2.KnowledgeDocumentQuery() # KnowledgeDocumentQuery | (optional)\n\ntry:\n # Query for knowledge documents.\n api_response = api_instance.post_knowledge_knowledgebase_documents_query(knowledge_base_id, expand=expand, body=body)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling KnowledgeApi->post_knowledge_knowledgebase_documents_query: %s\\n\" % e)"
delete_flows_instances_settings_loglevels_default is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1593
1591
1594
1592
This method makes a synchronous HTTP request by default. To make an
1595
1593
asynchronous HTTP request, please define a `callback` function
Gets the available flow log level characteristics for this organization.
7151
7146
Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
7152
-
get_flows_instances_settings_loglevels_characteristics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7153
7147
7154
7148
This method makes a synchronous HTTP request by default. To make an
7155
7149
asynchronous HTTP request, please define a `callback` function
0 commit comments