← API reference
Mutation / surfaces

deleteJourneyVersion

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

Arguments

TypeID of the journey version to delete (prefix jnv).

Returns DeletePayload!

Scalar fields at a glance

successBoolean!
↗ View the complete DeletePayload type

Explore in a view

Journeys and Workspaces
View exact SDL
"""
Delete one version from a journey's authoring history. Fails when the version is the one the journey is currently published at — delete the journey itself to remove that. Owner for PERSONAL, else journey:write.
"""
deleteJourneyVersion(
  """TypeID of the journey version to delete (prefix `jnv`)."""
  id: JourneyVersionID!
): DeletePayload! @topic(names: ["surfaces"])

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