Delete existing Kik Bot
        ---
        responseMessages:
            - code: 401
              message: Not authenticated
480924
def delete(self, request, bot_id, id, format=None):
        
        return super(KikBotDetail, self).delete(request, bot_id, id, format)
1288733
def remove_collaborator(login, options = {})
      ensure_ready!(:authorization)
      url = "collaborators/#{escape(login)}"
      response = connection.delete(url, options)
      checked_response_body(response)
    end
199592
def unauthorized(msg = t('flashes.failure_when_not_signed_in'))
      authenticate_session.logout
      respond_to do |format|
        format.any(:js, :json, :xml) { head :unauthorized }
        format.any { redirect_unauthorized(msg) }
      end
    end
22037
def delete_message(self, message_id):
        
        return self.bot.api_call(
            "deleteMessage", chat_id=self.id, message_id=message_id
        )
1293023
def chat_delete(self, chat_id, **kwargs):
        ""
        api_path = "/api/v2/chats/{chat_id}"
        api_path = api_path.format(chat_id=chat_id)
        return self.call(api_path, method="DELETE", **kwargs)
971819
def delete_message(self, queue, msg_id, claim_id=None):
        
        return queue.delete_message(msg_id, claim_id=claim_id)
332792
def get(self, request, bot_id, id, format=None):
                
        return super(KikBotDetail, self).get(request, bot_id, id, format)
1099769
def _delete(self, *args, **kwargs):
        
        response = requests.delete(*args, **kwargs)
        response.raise_for_status()
1010099
def rest_del(self, url, params=None, auth=None, verify=True, cert=None):
        
        res = requests.delete(url, params=params, auth=auth, verify=verify, cert=cert)
        return res.text, res.status_code
996194
def delete_custom_service_account(self, account, nickname, password):
        
        return self.post(
            url="https://api.weixin.qq.com/customservice/kfaccount/del",
            data={
                "kf_account": account,
                "nickname": nickname,
                "password": password
            }
        )
1076385
def delete(self, request, bot_id, id, format=None):
        
        return super(TelegramBotDetail, self).delete(request, bot_id, id, format)
738712
def chat_delete(self, *, channel: str, ts: str, **kwargs) -> SlackResponse:
        
        kwargs.update({"channel": channel, "ts": ts})
        return self.api_call("chat.delete", json=kwargs)
1305224
def delete_pipeline(pipeline_id, region=None, key=None, keyid=None, profile=None):
    '''
    
    '''
    client = _get_client(region, key, keyid, profile)
    r = {}
    try:
        client.delete_pipeline(pipelineId=pipeline_id)
        r['result'] = True
    except (botocore.exceptions.BotoCoreError, botocore.exceptions.ClientError) as e:
        r['error'] = six.text_type(e)
    return r
625029
def delete(*args)
      raise_authentication_error unless authenticated?
      arguments(args, required: [:id])

      delete_request("/authorizations/#{arguments.id}", arguments.params)
    end
1056958
def delete(self, request, bot_id, hook_id, id, format=None):
        
        bot = self.get_bot(bot_id, request.user)
        hook = self.get_hook(hook_id, bot, request.user)
        recipient = self.get_recipient(id, hook, request.user)
        recipient.delete()
        return Response(status=status.HTTP_204_NO_CONTENT)
1264833
def delete(self, username, napp):
        
        api = self._config.get('napps', 'api')
        endpoint = os.path.join(api, 'napps', username, napp, '')
        content = {'token': self._config.get('auth', 'token')}
        response = self.make_request(endpoint, json=content, method='DELETE')
        response.raise_for_status()
958384
def remove_authentication(self, auth_name=None, organization=None):
        
        if auth_name:
            if organization:
                url = '%s/authentications/org/%s/name/%s' % (self.domain, organization, auth_name)
            else:
                url = '%s/authentications/name/%s' % (self.domain, auth_name)
        else:
            url = '%s/authentications' % (self.domain,)

        res = self.session.delete(url)
        self._check_response(res, [201])