code: def delete_permission(self, username, virtual_host):
          
          virtual_host = quote(virtual_host, '')
          return self.http_client.delete(
              API_USER_VIRTUAL_HOST_PERMISSIONS %
              (
                  virtual_host,
                  username
              ))
docs: Delete User permissions for the configured virtual host.
  
          :param str username: Username
          :param str virtual_host: Virtual host name
  
          :raises ApiError: Raises if the remote server encountered an error.
          :raises ApiConnectionError: Raises if there was a connectivity issue.
  
          :rtype: dict