# File lib/fog/profitbricks/requests/compute/delete_share.rb, line 26
        def delete_share(group_id, resource_id)
          response = Excon::Response.new
          response.status = 202

          if share = data[:shares]['items'].find do |shr|
            shr['id'] == resource_id
          end
          else
            raise Excon::Error::HTTPStatus, "Resource does not exist"
          end

          response
        end