Update a survey
Updates a survey through a strict top-level partial document. Omitted top-level fields are preserved. Provided top-level objects and arrays replace that whole subtree; this endpoint does not deep-merge nested objects and does not implement JSON Patch.
This write endpoint accepts the canonical multilingual authoring document only. Translatable fields must be locale-code maps, not strings. PATCH ?lang=... and ?version=... are not supported in Scope 1.
For MCP and AI-agent workflows, fetch the current survey first, modify only the intended top-level fields, call /api/v3/surveys/validate with operation: patch for preflight, then submit the same patch here. Missing ids in replaced arrays are treated as deletions. Variable name renames are allowed but may be destructive for downstream exports or integrations. Element id changes are rejected once the survey and element are no longer drafts.
Optimistic concurrency (ETag, If-Match, or revision tokens) is future work; until then, overlapping writes are last-write-wins.
Path parameters
Survey identifier.
Request body
Response
Survey updated successfully