Update study groups
Applies a partial update to between 1 and 100 treatment groups on the study. A property left out keeps the value the group holds. Setting no moves a group to that position and renumbers the study’s other groups around it, so the response lists only the groups you sent while the no of others may have changed. The request is validated as a whole; if any item is invalid, none are updated. The study may not be archived or canceled.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
Request
The color of the study group, as a three- or six-digit hex code.
The position the group takes among all the study’s groups. Each value must be unique within the request and between 1 and the number of groups on the study. The groups the request does not place keep their order and move to the positions left free, so the no of a group you did not send may change. A request that sets no no leaves the numbering untouched.
Custom fields keyed by your team’s active study group metadata glossary slugs, merged into the group’s metadata. A value creates or updates the field, null clears it, and a field left out keeps its value. Fields your team marks mandatory cannot be cleared.
Response headers
The number of requests still available in the current rate limit window. When several limits apply, this reflects the per-API-key limit, so a request can be rejected while this value is above zero.