Skip to main content

applyUndoGroup

Undoes every eligible row of one undo group. A refused row is an outcome, not an error. The payload carries outcomes only, not the reverted records, because a group can mix entity types and the caller re-reads its own cache.

Throws an error with code:

  • BAD_REQUEST if EventsAir refuses the request. The error's extensions.message field gives the reason.
  • BAD_USER_INPUT if the input's correlationId field is not a GUID.
  • NOT_FOUND if the event specified by the input's eventId field does not exist.
applyUndoGroup(
input: ApplyUndoGroupInput!
): ApplyUndoGroupPayload!

Arguments​

applyUndoGroup.input ● ApplyUndoGroupInput! non-null input​

Type​

ApplyUndoGroupPayload object​

The outcome of undoing one undo group.