HTML body
Replace fields on an HTML surface body
Partial-update friendly. Any of html / css / js can be omitted to leave the column unchanged; pass empty string to clear. HTML is sanitized at write time (see UpdateHtmlSchema). Emits html.created on first write to a surface, html.updated on subsequent writes — both carry per-field byte counts so webhooks can fan out a meaningful signal. Requires editor role.
put/api/workspaces/{slug}/html
Request
- Base URLhttps://trydock.ai
- AuthHTTP bearer
Path parameters
slugstring required
Request body
Response
Written.
Changes
No recorded changes to this operation across all 2 revisions of this API.