โ† API reference
Mutation / surfaces

deleteJourney

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

Arguments

TypeID of the journey to delete (prefix jny). Its versions and team assignments cascade-delete with it; the deletion is permanent.

Returns DeletePayload!

Scalar fields at a glance

successBoolean!
โ†— View the complete DeletePayload type

Explore in a view

Journeys and Workspaces
View exact SDL
"""
Delete a journey and all its versions. Owner for PERSONAL, else journey:write.
"""
deleteJourney(
  """
  TypeID of the journey to delete (prefix `jny`). Its versions and team assignments cascade-delete with it; the deletion is permanent.
  """
  id: JourneyID!
): DeletePayload! @topic(names: ["surfaces"])

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