lib/fastly/api/automation_tokens_api.rb in fastly-8.0.1 vs lib/fastly/api/automation_tokens_api.rb in fastly-8.1.0

- old
+ new

@@ -275,20 +275,20 @@ end # Revoke an Automation Token by ID # Revoke an automation token by ID. # @option opts [String] :id (required) - # @return [ErrorResponse] + # @return [AutomationTokenErrorResponse] def revoke_automation_token_id(opts = {}) data, _status_code, _headers = revoke_automation_token_id_with_http_info(opts) data end # Revoke an Automation Token by ID # Revoke an automation token by ID. # @option opts [String] :id (required) - # @return [Array<(ErrorResponse, Integer, Hash)>] ErrorResponse data, response status code and response headers + # @return [Array<(AutomationTokenErrorResponse, Integer, Hash)>] AutomationTokenErrorResponse data, response status code and response headers def revoke_automation_token_id_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: AutomationTokensApi.revoke_automation_token_id ...' end # unbox the parameters from the hash @@ -313,10 +313,10 @@ # http body (model) post_body = opts[:debug_body] # return_type - return_type = opts[:debug_return_type] || 'ErrorResponse' + return_type = opts[:debug_return_type] || 'AutomationTokenErrorResponse' # auth_names auth_names = opts[:debug_auth_names] || ['token'] new_options = opts.merge(