platform.admin.experiments.update
Platform administrators only: offer one experiment to nobody (off), only the platform's own workspace (team) or every workspace (everyone). A Vercel flag set to off in Vercel Flags still keeps it off. Turning it off stops it at once for everyone who had it on. Pass expectedRevision from platform.admin.experiments.list.
/api/v1/accounting/platform.admin.experiments.updatePermissions
Who can call it
Retries
MCP
accounting_platform_admin_experiments_updateFields
experimentenumRequiredrts-modeaudienceenumRequiredoff offers it to nobody, team only to the platform's own workspace, everyone to every workspace.
offteameveryoneexpectedRevisionintegerThe revision you last read. A different revision means the choices changed first.
0 to 9007199254740990
idempotencyKeystringRequiredAny unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match.
8–200 characters
Example
curl https://app.getoatmilk.com/api/v1/accounting/platform.admin.experiments.update \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"experiment": "rts-mode",
"audience": "off"
}'{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
curl https://app.getoatmilk.com/api/v1/accounting/platform.admin.experiments.update \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"experiment": "rts-mode",
"audience": "off"
}'More in Administration.