← API reference
CANONICAL TYPE REFERENCE

UpdateWorkspaceInput

Input for updating a workspace. Only provided fields are changed.

Observed authoring revision; required by IaC source updates.

sourceString

Author-owned cococo-workspace-source/1 JSON envelope containing sourceXML and serverLua. Compilation and AST are server-owned; read back source for IaC comparison.

New distribution scope. Omit to keep the current one. Moving a workspace to (or away from) TEAM/INSTANCE requires workspace:write.

Replacement team assignments (TypeIDs, prefix tea) for a TEAM-scoped workspace. Unlike upsertWorkspace, omitting it keeps the current assignments.

View exact SDL
"""Input for updating a workspace. Only provided fields are changed."""
input UpdateWorkspaceInput {
  """Observed authoring revision; required by IaC source updates."""
  expectedRevision: String
  """
  Author-owned cococo-workspace-source/1 JSON envelope containing sourceXML and serverLua. Compilation and AST are server-owned; read back source for IaC comparison.
  """
  source: String
  """
  New distribution scope. Omit to keep the current one. Moving a workspace to (or away from) TEAM/INSTANCE requires workspace:write.
  """
  scope: WorkspaceScope
  """
  Replacement team assignments (TypeIDs, prefix `tea`) for a TEAM-scoped workspace. Unlike `upsertWorkspace`, omitting it keeps the current assignments.
  """
  teamIds: [TeamID!]
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.