Skip to main content
POST
Save a draft revision

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Headers

X-DevHelm-Client
string

Calling surface and version, e.g. cli/1.4.0 or sdk-js/2.0.0

Idempotency-Key
string

Replays the stored response for 24h when the same key is sent again (1–255 visible ASCII)

Path Parameters

id
string<uuid>
required

Body

application/json
code
object
required

Bundle digest and entrypoint to publish as the live revision

Response

OK

data
object
required

Draft revision, and the draft discarded when the cap was full