Skip to main content
PUT
Replace the draft

Authorizations

Authorization
string
header
required

Management API authentication. Pass an op-mak-… management token as a Bearer token. Runtime op-… API keys are rejected with 403 — they belong on the data-plane endpoints. Mint a management key from the platform UI under Settings → API keys.

Path Parameters

name
string
required

Route name

Body

application/json
graph
object
required

The new draft graph (see DynamicRouteGraph). Validation issues come back in meta.issues; a draft with errors is saved but cannot be deployed.

description
string

New description. Omit to leave it unchanged.

layout
object

Editor canvas positions keyed by element id. Opaque to the gateway.

Response

Successful response

data
object
meta
object