code: def get_permissions(self, virtual_host):
          
          virtual_host = quote(virtual_host, '')
          return self.http_client.get(API_VIRTUAL_HOSTS_PERMISSION %
                                      (
                                          virtual_host
                                      ))
docs: Get all Virtual hosts permissions.
  
          :raises ApiError: Raises if the remote server encountered an error.
          :raises ApiConnectionError: Raises if there was a connectivity issue.
  
          :rtype: dict