Apps & SurfacesMu Mutation

deleteJourney

Topics: Surfaces

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

Returns

DeletePayload!

Arguments

id

JourneyID!Required

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

Exact field 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"])

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