Remove a sport. This needs to be **proposed**.

            :param str sport_id: Sport ID to identify the Sport to be deleted

            :param str account: (optional) Account used to verify the operation
175303
def sport_delete(self, sport_id="0.0.0", account=None, **kwargs):

        

        if not account:
            if "default_account" in config:
                account = config["default_account"]
            if not account:
                raise ValueError("You need to provide an account")

        account = Account(account)
        sport = Sport(sport_id)
        op = operations.Sport_delete(
            **{
                "fee": {"amount": 0, "asset_id": "1.3.0"},
                "sport_id": sport["id"],
                "prefix": self.prefix,
            }
        )

        return self.finalizeOp(op, account["name"], "active", **kwargs)
371420
def delete(identity_id = '', service = '')
      fail BadParametersError, 'identity_id is required' if identity_id.empty?
      fail BadParametersError, 'service is required' if service.empty?

      DataSift.request(:DELETE, "account/identity/#{identity_id}/limit/#{service}", @config)
    end
33876
def delete(self, id):
        
        if id in self._images.keys():
            del self._images[id]
        self.tk.delete(id)
527741
function removeTeam($competitionId, $teamId)
	{
		if(!$competitionId)
		{
			throw new Exception('Invalid competitionId');
		}
		if(!$teamId)
		{
			throw new Exception('Invalid teamId');
		}

		return $this->execute('DELETE', '/competitions/%d/teams/%d/', array($competitionId, $teamId));
	}
118277
def delete_enrollment(self, id):
        
        url = self._url('enrollments/{}'.format(id))
        return self.client.delete(url)
196449
def delete_account(self, account):
        
        params_data = [
            'access_token={0}'.format(quote(self.access_token)),
            'kf_account={0}'.format(quote(to_binary(account), safe=b'/@')),
        ]
        params = '&'.join(params_data)
        return self._get(
            'https://api.weixin.qq.com/customservice/kfaccount/del',
            params=params
        )
1287501
def delete(self, id):
        
        id = self.key_name(id)
        self.redis.delete(id)
358920
def account_id(self, account_id):
        
        if account_id is None:
            raise ValueError("Invalid value for `account_id`, must not be `None`")
        if account_id is not None and len(account_id) > 250:
            raise ValueError("Invalid value for `account_id`, length must be less than or equal to `250`")
        if account_id is not None and len(account_id) < 1:
            raise ValueError("Invalid value for `account_id`, length must be greater than or equal to `1`")

        self._account_id = account_id
1141159
def delete(self, id):
        
        id = self.as_id(id)
        response = self.http.delete(
            '%s/%s' % (self.api_url, id),
            auth=self.auth)
        response.raise_for_status()
427453
def remove_account_alias(self, account, alias):
        
        self.request('RemoveAccountAlias', {
            'id': self._get_or_fetch_id(account, self.get_account),
            'alias': alias,
        })
966920
def delete(self):
        
        resource = self.RESOURCE.format(
            account_id=self.account.id,
            tailored_audience_id=self.tailored_audience_id,
            id=self.id)
        response = Request(self.account.client, 'delete', resource).perform()
        return self.from_response(response.body['data'])
211904
def delete(self, id: int):
        
        assert isinstance(id, int)

        self.open_session()
        to_delete = self.get(id)
        self.session.delete(to_delete)
        self.save()
674505
def delete_grading_period_accounts(self, id, account_id):
        
        path = {}
        data = {}
        params = {}

        # REQUIRED - PATH - account_id
        """ID"""
        path["account_id"] = account_id

        # REQUIRED - PATH - id
        """ID"""
        path["id"] = id

        self.logger.debug("DELETE /api/v1/accounts/{account_id}/grading_periods/{id} with query params: {params} and form data: {data}".format(params=params, data=data, **path))
        return self.generic_request("DELETE", "/api/v1/accounts/{account_id}/grading_periods/{id}".format(**path), data=data, params=params, no_data=True)
95182
def delete(self, dash_id):
        
        removed_info = dict(
            time_modified = r_db.zscore(config.DASH_ID_KEY, dash_id),
            meta = r_db.hget(config.DASH_META_KEY, dash_id),
            content = r_db.hget(config.DASH_CONTENT_KEY, dash_id))
        r_db.zrem(config.DASH_ID_KEY, dash_id)
        r_db.hdel(config.DASH_META_KEY, dash_id)
        r_db.hdel(config.DASH_CONTENT_KEY, dash_id)
        return {'removed_info': removed_info}
95704
def tempo_account_delete_account_by_id(self, account_id):
        
        url = 'rest/tempo-accounts/1/account/{id}/'.format(id=account_id)
        return self.delete(url)
249759
def remove_accounts_from_institute(accounts_query, institute):
    

    query = accounts_query.filter(date_deleted__isnull=True)

    for account in query:
        remove_account_from_institute(account, institute)
1141129
def ticket_delete(self, id, **kwargs):
        ""
        api_path = "/api/v2/tickets/{id}.json"
        api_path = api_path.format(id=id)
        return self.call(api_path, method="DELETE", **kwargs)