lib/purecloudplatformclientv2/api/users_api.rb in purecloudplatformclientv2-3.1.7 vs lib/purecloudplatformclientv2/api/users_api.rb in purecloudplatformclientv2-4.0.0
- old
+ new
@@ -140,22 +140,22 @@
# Remove routing skill from user
#
# @param user_id User ID
# @param skill_id skillId
# @param [Hash] opts the optional parameters
- # @return [String]
+ # @return [nil]
def delete_user_routingskill(user_id, skill_id, opts = {})
- data, _status_code, _headers = delete_user_routingskill_with_http_info(user_id, skill_id, opts)
- return data
+ delete_user_routingskill_with_http_info(user_id, skill_id, opts)
+ return nil
end
# Remove routing skill from user
#
# @param user_id User ID
# @param skill_id skillId
# @param [Hash] opts the optional parameters
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_user_routingskill_with_http_info(user_id, skill_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: UsersApi.delete_user_routingskill ..."
end
# verify the required parameter 'user_id' is set
@@ -188,11 +188,10 @@
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
- :auth_names => auth_names,
- :return_type => 'String')
+ :auth_names => auth_names)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: UsersApi#delete_user_routingskill\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end