---
title: "Update variant A or B — free"
method: POST
path: "/landings/{id}/update"
tags: ["Landings"]
---

# Update variant A or B — free

`POST /landings/{id}/update`

## Request

- Base URL: `https://vibemarketolog.ru/api/agent`
- URL: `https://vibemarketolog.ru/api/agent/landings/{id}/update`
- Auth: HTTP bearer

Replaces the HTML of a variant (passport required; a broken update never replaces the live page). A running A/B test restarts from zero. Up to 50 updates per landing.

## Path parameters

- `id` integer, required

## Request body

- object
  - `variant` 'a' | 'b'
  - `html` string, required
  - `assets` object[]
    - `path` string, required
    - `content_base64` string, required
  - `title` string

## Response `200`

OK

## Other responses

- `402`: insufficient_balance / email_confirmation_required
- `403`: sandbox_not_allowed
- `422`: passport_failed / bad_input / variant_b_identical
- `429`: rate_limited / daily_spend_limit_exceeded / already_running

---

[API](https://skmtc.dev/vibemarketolog/apis/agent-api.md) · [All operations](https://skmtc.dev/vibemarketolog/apis/agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vibemarketolog/apis/agent-api/revisions/6a74f8ad5d58?raw)
