docs/AuthorizationApi.md in purecloudplatformclientv2-47.0.0 vs docs/AuthorizationApi.md in purecloudplatformclientv2-48.0.0

- old
+ new

@@ -19,11 +19,11 @@ [**get_authorization_divisionspermitted_me**](AuthorizationApi.html#get_authorization_divisionspermitted_me) | Returns whether or not current user can perform the specified action(s). [**get_authorization_divisionspermitted_subject_id**](AuthorizationApi.html#get_authorization_divisionspermitted_subject_id) | Returns whether or not specified user can perform the specified action(s). [**get_authorization_permissions**](AuthorizationApi.html#get_authorization_permissions) | Get all permissions. [**get_authorization_products**](AuthorizationApi.html#get_authorization_products) | Get the list of enabled products [**get_authorization_role**](AuthorizationApi.html#get_authorization_role) | Get a single organization role. -[**get_authorization_role_comparedefault_right_role_id**](AuthorizationApi.html#get_authorization_role_comparedefault_right_role_id) | Get an org role to default role comparison comparison +[**get_authorization_role_comparedefault_right_role_id**](AuthorizationApi.html#get_authorization_role_comparedefault_right_role_id) | Get an org role to default role comparison [**get_authorization_role_subjectgrants**](AuthorizationApi.html#get_authorization_role_subjectgrants) | Get the subjects&#39; granted divisions in the specified role. [**get_authorization_role_users**](AuthorizationApi.html#get_authorization_role_users) | Get a list of the users in a specified role. [**get_authorization_roles**](AuthorizationApi.html#get_authorization_roles) | Retrieve a list of all roles defined for the organization [**get_authorization_subject**](AuthorizationApi.html#get_authorization_subject) | Returns a listing of roles and permissions for a user. [**get_authorization_subjects_me**](AuthorizationApi.html#get_authorization_subjects_me) | Returns a listing of roles and permissions for the currently authenticated user. @@ -909,11 +909,11 @@ ## -[**DomainOrgRoleDifference**](DomainOrgRoleDifference.html) get_authorization_role_comparedefault_right_role_id(left_role_id, right_role_id) -Get an org role to default role comparison comparison +Get an org role to default role comparison Compares any organization role to a default role id and show differences Wraps GET /api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId} @@ -943,11 +943,11 @@ right_role_id = "right_role_id_example" # String | Right Role id begin - #Get an org role to default role comparison comparison + #Get an org role to default role comparison result = api_instance.get_authorization_role_comparedefault_right_role_id(left_role_id, right_role_id) p result rescue PureCloud::ApiError => e puts "Exception when calling AuthorizationApi->get_authorization_role_comparedefault_right_role_id: #{e}" end @@ -1601,11 +1601,11 @@ <a name="post_authorization_role"></a> -## - post_authorization_role(role_id, body) +## - post_authorization_role(role_id, body, opts) Bulk-grant subjects and divisions with an organization role. @@ -1637,14 +1637,17 @@ role_id = "role_id_example" # String | Role ID body = PureCloud::SubjectDivisions.new # SubjectDivisions | Subjects and Divisions +opts = { + subject_type: "PC_USER" # String | what the type of the subject is, PC_GROUP or PC_USER +} begin #Bulk-grant subjects and divisions with an organization role. - api_instance.post_authorization_role(role_id, body) + api_instance.post_authorization_role(role_id, body, opts) rescue PureCloud::ApiError => e puts "Exception when calling AuthorizationApi->post_authorization_role: #{e}" end ~~~ @@ -1652,9 +1655,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **role_id** | **String**| Role ID | | **body** | [**SubjectDivisions**](SubjectDivisions.html)| Subjects and Divisions | | + **subject_type** | **String**| what the type of the subject is, PC_GROUP or PC_USER | [optional] [default to PC_USER] | {: class="table table-striped"} ### Return type