Skip to main content
POST
Removes a randomizer in one of two modes:
  • ungroup (default) dissolves the randomizer: each arm’s question or group moves back into the study at the randomizer’s position, in arm order, and every participant sees all of it. Nothing is deleted.
  • delete removes the randomizer and everything inside its arms — questions, groups, nested randomizers, and logic rules that pointed at them.
Once participants have been assigned to a randomizer’s arms, its arms can’t be removed or retargeted, so both modes return 409 Conflict. The same applies to removing or retargeting an assigned arm with Update randomizer.
string
required
The randomizer ID.
string
required
The study ID.
string
default:"ungroup"
ungroup or delete.

Response

string
The mode that was applied.
integer
ungroup only: questions moved back into the study directly.
integer
ungroup only: arm groups moved back into the study (their questions stay inside them).
integer
delete only.
integer
delete only.
integer
Logic rules removed because their target was deleted.