← All types
Apps & SurfacesIn Input object

UpdateJourneySourceInput

Revision-checked edit of journey XML, scope or team assignments using native validation and authorization.

Fields

Observed journey revision required to reject stale concurrent edits.

Replacement authoritative Journey XML; omit to retain the current source.

Replacement visibility scope; omit to preserve the current scope.

Possible values (3)
PERSONAL

Owned by one user and visible only to them. Self-service: authoring it needs journey:personal rather than journey:write, and journey:write is not a backdoor into someone else's personal journey.

TEAM

Offered to the members of the teams it is assigned to; at least one team is required. Authoring it needs journey:write.

INSTANCE

Offered to everyone in the tenant whose permissions cover its requiredDomains. The default scope when none is given, and what bundled journeys use; authoring it needs journey:write.

teamIds

[TeamID!]Optional

Replacement team assignments; omit to preserve current assignments and provide an empty list to clear them.

Referenced by (1)
Exact type SDL
"""
Revision-checked edit of journey XML, scope or team assignments using native validation and authorization.
"""
input UpdateJourneySourceInput {
  """Observed journey revision required to reject stale concurrent edits."""
  expectedRevision: Int!
  """
  Replacement authoritative Journey XML; omit to retain the current source.
  """
  sourceXML: String
  """Replacement visibility scope; omit to preserve the current scope."""
  scope: JourneyScope
  """
  Replacement team assignments; omit to preserve current assignments and provide an empty list to clear them.
  """
  teamIds: [TeamID!]
}