Update a draft envelope's graph
Combined draft update: any subset of participants, fields, and policy, applied in one transaction (allowed in draft and review status). Replacing participants cascade-deletes fields, so participants requires fields in the same call. expectedVersion is checked strictly when supplied; omitted, the current version is used. Supports the Idempotency-Key header: a replayed completed key returns the envelope’s current graph with the original status code and Idempotency-Replayed: true (never re-executing); an in-flight duplicate is rejected 409; reusing a key with a different request is rejected 422.
Authorizations
Organization API key (format atlas_sk_...), passed as a bearer token or the x-api-key header. Created and revoked in the dashboard (Better Auth api-key plugin); shown in full only once and stored hashed.
Path Parameters
Envelope id
1