← API reference
Mutation / surfaces

updateWorkspace

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

Arguments

TypeID of the workspace to update (prefix wks).

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

Returns WorkspacePayload!

Explore in a view

Journeys and Workspaces
View exact 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"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.