Hanzo
OpenapiGuide

Edit — or retire — one item of the brand blueprint

Edits a single item of the brand blueprint by id and saves it as a NEW VERSION, answering the whole blueprint after the edit.

PATCH /v1/guide/blueprint/{collection}/{id}

Addresshttps://api.hanzo.ai/v1/guide/blueprint/{collection}/{id}
MethodPATCH
Operationpatch_guide_blueprint_by_collection_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Edits a single item of the brand blueprint by id and saves it as a NEW VERSION, answering the whole blueprint after the edit. collection is one of sections, steps, strategies or templates; anything else is 400, and an id that collection does not hold is 404. This is also the retire lever: {"enabled": false} takes an item out of every org's journey without deleting it or its history.

SuperAdmin ONLY, like the rest of the authoring plane; a per-org admin is 403. The write is audited.

The patch is a SHALLOW merge over the item's own top-level keys — a key you send replaces that key whole, a key you omit is left alone — and id is dropped from the patch before it is applied, so an edit can never rekey an item. That is why the body has no declarable shape: its keys are the patched item's, not this route's.

Fail-closed on the WHOLE document, not just the item: the blueprint is re-validated after the merge, so a patch that would dangle a dependency, break the step DAG or empty the journey is 422 and nothing is saved. An empty patch is 400 and one over 16 MiB is 413.

Request

2 fields.

FieldInTypeRequiredDescription
collectionpathstringyes
idpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo guide blueprint collection update <collection> <id>

Guide API · All Hanzo APIs · Interactive reference

How is this guide?

On this page