Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

Path Parameters

id
string
required

The id of the requested resource

Body

application/json
variation
string
required
id
string
description
string
css
string
js
string
allowRunningExperiment
boolean

Also accept the write when the experiment is running. Off by default so a stale editor can't change a live test. When set, the change reaches live traffic immediately and the caller needs the runExperiments permission on the affected environments; the write is audited.

domMutations
object[]
{key}
any

Response

200 - application/json

Resource created

nModified
number
required
visualChangeId
string
required