Apps & SurfacesMu Mutation

deleteWorkspaceVersion

Topics: Surfaces

Delete one version from a workspace's authoring history. Fails when the version is the one the workspace is currently published at — delete the workspace itself to remove that. Owner for PERSONAL, else workspace:write.

Returns

DeletePayload!

Arguments

TypeID of the workspace version to delete (prefix wsv).

Exact field SDL
"""
Delete one version from a workspace's authoring history. Fails when the version is the one the workspace is currently published at — delete the workspace itself to remove that. Owner for PERSONAL, else workspace:write.
"""
deleteWorkspaceVersion(
  """TypeID of the workspace version to delete (prefix `wsv`)."""
  id: WorkspaceVersionID!
): DeletePayload! @topic(names: ["surfaces"])

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