code: def delete_keyvault(access_token, subscription_id, rgname, vault_name):
      '''Deletes a key vault in 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.
          vault_name (str): Name of the new key vault.
  
      Returns:
          HTTP response. 200 OK.
      '''
      endpoint = ''.join([get_rm_endpoint(),
                          '/subscriptions/', subscription_id,
                          '/resourcegroups/', rgname,
                          '/providers/Microsoft.KeyVault/vaults/', vault_name,
                          '?api-version=', KEYVAULT_API])
      return do_delete(endpoint, access_tokenf delete_keyvault(access_token, subscription_id, rgname, vault_name):
      '''Deletes a key vault in 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.
          vault_name (str): Name of the new key vault.
  
      Returns:
          HTTP response. 200 OK.
      '''
      endpoint = ''.join([get_rm_endpoint(),
                          '/subscriptions/', subscription_id,
                          '/resourcegroups/', rgname,
                          '/providers/Microsoft.KeyVault/vaults/', vault_name,
                          '?api-version=', KEYVAULT_API])
      return do_delete(endpoint, access_token)
docs: Deletes a key vault in 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.
          vault_name (str): Name of the new key vault.
  
      Returns:
          HTTP response. 200 OK.