lib/purecloudplatformclientv2/api/authorization_api.rb in purecloudplatformclientv2-73.0.0 vs lib/purecloudplatformclientv2/api/authorization_api.rb in purecloudplatformclientv2-75.0.0

- old
+ new

@@ -26,20 +26,22 @@ # Delete a division. # # @param division_id Division ID # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :force Force delete this division as well as the grants and objects associated with it (default to false) # @return [nil] def delete_authorization_division(division_id, opts = {}) delete_authorization_division_with_http_info(division_id, opts) return nil end # Delete a division. # # @param division_id Division ID # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :force Force delete this division as well as the grants and objects associated with it # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_authorization_division_with_http_info(division_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AuthorizationApi.delete_authorization_division ..." end @@ -50,14 +52,21 @@ + + + + + + # resource path local_var_path = "/api/v2/authorization/divisions/{divisionId}".sub('{format}','json').sub('{' + 'divisionId' + '}', division_id.to_s) # query parameters query_params = {} + query_params[:'force'] = opts[:'force'] if opts[:'force'] # header parameters header_params = {} # HTTP header 'Accept' (if needed)