Canvases

Update a canvas template

Updates name, description, public flag, or the template graph for a user-owned template. Built-in templates cannot be modified (returns 403). No credit cost.

Select Masko-API-Version: 2026-09-26 (or api_version=2026-09-26) for the canonical mascot contract shown first. Existing unversioned clients keep legacy collection fields. A mascot_id query filter also selects the canonical contract. Mixing identifier names returns 400.

patch/v1/canvas-templates/{id}

Request

  • Base URL: https://api.masko.ai
  • URL: https://api.masko.ai/v1/canvas-templates/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Query parameters

api_version'2026-09-26' | 'legacy'

Equivalent to the version header, for polling URLs and clients that accept only relative paths. Header and query must agree.

Headers

Masko-API-Version'2026-09-26' | 'legacy'

Use 2026-09-26 for mascot_id resource fields. Unversioned shared routes retain the legacy contract.

Request body

namestring

New template name.

descriptionstring

Updated description.

templateobject

Replacement template JSON.

publicboolean

Toggle whether template is visible to all users.

Response

Template updated

Changes

No recorded changes to this operation across all 1 revision of this API.