Skip to main content
POST
Apply draft changes

Authorizations

Authorization
string
header
required

Send the domain-scoped API key as Authorization: Bearer . Never send client-supplied identity headers.

Headers

Idempotency-Key
string
required

Unique key per logical mutation; reuse the same key and body when retrying after a timeout.

Required string length: 8 - 128

Body

application/json
changes
object[]
required

Ordered changes applied atomically to the draft.

Required array length: 1 - 500 elements
expected_draft_revision
integer

Draft revision expected by the client; mismatches prevent overwriting concurrent edits.

Required range: x >= 0

Response

Successful response.

request_id
string
required
draft_revision
integer
required

New draft revision after applying the changes.

Required range: x >= 0
applied
integer
required
Required range: x >= 0
warnings
object[]
required

Non-blocking configuration warnings to review before publication.