Skip to main content

rollbackVoxelUpdates

Reverts every voxel edit made by userId in appId between from and to, returning one RollbackVoxelEventResult per affected voxel (applied tells you whether each was actually changed). DEFAULTS to dryRun=true, which only PREVIEWS the planned reversions without writing; pass dryRun=false to actually apply them (DESTRUCTIVE — mutates world state). Requires a valid bearer token AND the manage_apps permission on the org that owns appId (super admins bypass).

rollbackVoxelUpdates(
input: RollbackVoxelUpdatesInput!
): [RollbackVoxelEventResult!]!

Arguments

rollbackVoxelUpdates.input ● RollbackVoxelUpdatesInput! non-null input

Type

RollbackVoxelEventResult object

Per-voxel outcome of a rollbackVoxelUpdates call. In dry-run mode this describes what WOULD happen; otherwise it reports what was applied. One result is returned per affected voxel.