Skip to main content
PATCH
Update an A/B test

Authorizations

Authorization
string
header
required

Paste your VTurb API token (vt_...). Sent as Authorization: Bearer <token>.

Path Parameters

id
string
required

Body

application/json
name
string
folder_id
string
variants
object[]

Response

The merge-patch is applied; omitted fields stay untouched. Variants patch by video_id: send one already in the test to update it, a new one to add it, _destroy: true to remove it. Unsent variants and unsent fields on a matched variant stay untouched.

id
string
required
status
string
required
name
string
required
folder_id
string | null
required
started_at
string | null
required
created_at
string
required
updated_at
string
required
variants
object[]
required