Skip to main content
PUT

Authorizations

Authorization
string
header
required

Send your API key as a bearer token: Authorization: Bearer <your API key>. Make a key in the dashboard under Settings → API keys; a workspace key starts with wdg_org_ and works in the workspace it was made in. See API keys and Authentication.

Path Parameters

id
string<uuid>
required

ID of the canvas to update

Body

application/json
persistenceKey
string

Updated key used for persistent storage and reference

Example:

"updated_canvas_xyz123"

canvasContent
object

Updated JSON content of the canvas

Example:
primaryWidgetId
string<uuid> | null

The widget the canvas is for. A canvas holds one widget. Omit to leave unchanged.

Response

Canvas updated successfully

success
boolean
required

Always true on a success.

Example:

true

data
object
required
Example:
meta
object

Extra information about the answer: where a page sits in a list, the cursor of the next page, or warnings about a call that succeeded with a caveat.