Edit a figure or connector
update_shapePatch one existing object without replacing other objects. Requires editToken and latest revision; returns the new revision. Read the drawing first to inspect existing fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Public drawing UUID (last component of its /draw/<uuid> URL). | |
| changes | Yes | Top-level fields to replace. Cannot change id or type. style/start/end replace the whole subobject; read it first to preserve other fields. | |
| shapeId | Yes | ID of the existing figure or connector to change. | |
| revision | Yes | Revision from create_drawing, get_drawing or the previous edit. Stale revisions fail; read again before retrying. | |
| editToken | Yes | Private editing capability returned by create_drawing. Never place it in a URL or public answer. |