code: def delete(name):
      '''
      Delete a check on a given URL
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' uptime.delete http://example.org
      '''
      if not check_exists(name):
          msg = "Trying to delete check that doesn't exists : {0}".format(name)
          log.error(msg)
          raise CommandExecutionError(msg)
      application_url = _get_application_url()
      log.debug('[uptime] trying DELETE request')
      jcontent = requests.get('{0}/api/checks'.format(application_url)).json()
      url_id = [x['_id'] for x in jcontent if x['url'] == name][0]
      req = requests.delete('{0}/api/checks/{1}'.format(application_url, url_id))
      if not req.ok:
          raise CommandExecutionError(
              'request to uptime failed : {0}'.format(req.reason)
          )
      log.debug('[uptime] DELETE request successful')
      return Truf delete(name):
      '''
      Delete a check on a given URL
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' uptime.delete http://example.org
      '''
      if not check_exists(name):
          msg = "Trying to delete check that doesn't exists : {0}".format(name)
          log.error(msg)
          raise CommandExecutionError(msg)
      application_url = _get_application_url()
      log.debug('[uptime] trying DELETE request')
      jcontent = requests.get('{0}/api/checks'.format(application_url)).json()
      url_id = [x['_id'] for x in jcontent if x['url'] == name][0]
      req = requests.delete('{0}/api/checks/{1}'.format(application_url, url_id))
      if not req.ok:
          raise CommandExecutionError(
              'request to uptime failed : {0}'.format(req.reason)
          )
      log.debug('[uptime] DELETE request successful')
      return True
docs: Delete a check on a given URL
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' uptime.delete http://example.org