Apps & SurfacesMu Mutation

updateWorkspace

Topics: Surfaces

Update a workspace. Only provided fields are changed. Owner for PERSONAL, else workspace:write.

Returns

WorkspacePayload!

Arguments

id

WorkspaceID!Required

TypeID of the workspace to update (prefix wks).

Patch of the fields to change; omitted fields are left untouched.

Exact field SDL
"""
Update a workspace. Only provided fields are changed. Owner for PERSONAL, else workspace:write.
"""
updateWorkspace(
  """TypeID of the workspace to update (prefix `wks`)."""
  id: WorkspaceID!
  """Patch of the fields to change; omitted fields are left untouched."""
  input: UpdateWorkspaceInput!
): WorkspacePayload! @topic(names: ["surfaces"])

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