code: def delete_resource_group(access_token, subscription_id, rgname):
      '''Delete the named resource group.
  
      Args:
          access_token (str): A valid Azure authentication token.
          subscription_id (str): Azure subscription id.
          rgname (str): Azure resource group name.
  
      Returns:
          HTTP response.
      '''
      endpoint = ''.join([get_rm_endpoint(),
                          '/subscriptions/', subscription_id,
                          '/resourcegroups/', rgname,
                          '?api-version=', RESOURCE_API])
      return do_delete(endpoint, access_tokenf delete_resource_group(access_token, subscription_id, rgname):
      '''Delete the named resource group.
  
      Args:
          access_token (str): A valid Azure authentication token.
          subscription_id (str): Azure subscription id.
          rgname (str): Azure resource group name.
  
      Returns:
          HTTP response.
      '''
      endpoint = ''.join([get_rm_endpoint(),
                          '/subscriptions/', subscription_id,
                          '/resourcegroups/', rgname,
                          '?api-version=', RESOURCE_API])
      return do_delete(endpoint, access_token)
docs: Delete the named resource group.
  
      Args:
          access_token (str): A valid Azure authentication token.
          subscription_id (str): Azure subscription id.
          rgname (str): Azure resource group name.
  
      Returns:
          HTTP response.