Apps & SurfacesMu Mutation

deleteWorkspace

Topics: Surfaces

Delete a workspace and all its versions. Owner for PERSONAL, else workspace:write.

Returns

DeletePayload!

Arguments

id

WorkspaceID!Required

TypeID of the workspace to delete (prefix wks). Its versions and team assignments cascade.

Exact field SDL
"""
Delete a workspace and all its versions. Owner for PERSONAL, else workspace:write.
"""
deleteWorkspace(
  """
  TypeID of the workspace to delete (prefix `wks`). Its versions and team assignments cascade.
  """
  id: WorkspaceID!
): DeletePayload! @topic(names: ["surfaces"])

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