Apps & SurfacesMu Mutation

upsertWorkspace

Topics: Surfaces

Create a workspace or overwrite its open draft. PERSONAL is self-service; TEAM/INSTANCE require workspace:write.

Returns

WorkspacePayload!

Arguments

The definition (which carries the handle) plus optional scope / team assignments.

Exact field SDL
"""
Create a workspace or overwrite its open draft. PERSONAL is self-service; TEAM/INSTANCE require workspace:write.
"""
upsertWorkspace(
  """
  The definition (which carries the handle) plus optional scope / team assignments.
  """
  input: UpsertWorkspaceInput!
): WorkspacePayload! @topic(names: ["surfaces"])

Declared on Mutation. Access is checked by the platform for each operation.