code: def update_workspace_attributes(namespace, workspace, attrs):
      
      headers = _fiss_agent_header({"Content-type":  "application/json"})
      uri = "{0}workspaces/{1}/{2}/updateAttributes".format(fcconfig.root_url,
                                                          namespace, workspace)
      body = json.dumps(attrs)
  
      # FIXME: create __patch method, akin to __get, __delete etc
      return __SESSION.patch(uri, headers=headers, data=body)
docs: Update or remove workspace attributes.
  
      Args:
          namespace (str): project to which workspace belongs
          workspace (str): Workspace name
          attrs (list(dict)): List of update operations for workspace attributes.
              Use the helper dictionary construction functions to create these:
  
              _attr_set()      : Set/Update attribute
              _attr_rem()     : Remove attribute
              _attr_ladd()    : Add list member to attribute
              _attr_lrem()    : Remove list member from attribute
  
      Swagger:
          https://api.firecloud.org/#!/Workspaces/updateAttributes