code: def create_workspace(namespace, name, authorizationDomain="", attributes=None):
      
  
      if not attributes:
          attributes = dict()
  
      body = {
          "namespace": namespace,
          "name": name,
          "attributes": attributes
      }
      if authorizationDomain:
          authDomain = [{"membersGroupName": authorizationDomain}]
      else:
          authDomain = []
  
      body["authorizationDomain"] = authDomain
  
      return __post("workspaces", json=body)
docs: Create a new FireCloud Workspace.
  
      Args:
          namespace (str): project to which workspace belongs
          name (str): Workspace name
          protected (bool): If True, this workspace is protected by dbGaP
              credentials. This option is only available if your FireCloud
              account is linked to your NIH account.
          attributes (dict): Workspace attributes as key value pairs
  
      Swagger:
          https://api.firecloud.org/#!/Workspaces/createWorkspace