Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Pass your API key as the Bearer token. See Authentication.

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

Resource created

nModified
number
required
visualChangeId
string
required