curl -X PATCH "https://api.scanova.io/qr-assets/design-template/9/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "design_info": { "bg": "#112233" } }'
{
"id": 9,
"name": "Blue Gradient",
"resource_type": "qr_category",
"category": 3,
"design_info": { "bg": "#112233" },
"gradient_type": "linear",
"color_palette": "[\"#000\",\"#fff\"]",
"font_styles": null,
"is_template": true,
"info": null,
"template_id": "abc123"
}
QR Assets
Update a user design template
PATCH /qr-assets/design-template//
PATCH
/
qr-assets
/
design-template
/
{pk}
/
curl -X PATCH "https://api.scanova.io/qr-assets/design-template/9/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "design_info": { "bg": "#112233" } }'
{
"id": 9,
"name": "Blue Gradient",
"resource_type": "qr_category",
"category": 3,
"design_info": { "bg": "#112233" },
"gradient_type": "linear",
"color_palette": "[\"#000\",\"#fff\"]",
"font_styles": null,
"is_template": true,
"info": null,
"template_id": "abc123"
}
Updates a design template owned by this account, on the Management API host (
Both
api.scanova.io), authenticated with your raw Management API key.
PUT https://api.scanova.io/qr-assets/design-template/{pk}/
PATCH https://api.scanova.io/qr-assets/design-template/{pk}/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
integer
required
The template’s
id.PUT and PATCH are supported, and accept the same fields documented in Create a user design template — including the resource_type/category pairing rule, which still applies on update.
curl -X PATCH "https://api.scanova.io/qr-assets/design-template/9/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "design_info": { "bg": "#112233" } }'
{
"id": 9,
"name": "Blue Gradient",
"resource_type": "qr_category",
"category": 3,
"design_info": { "bg": "#112233" },
"gradient_type": "linear",
"color_palette": "[\"#000\",\"#fff\"]",
"font_styles": null,
"is_template": true,
"info": null,
"template_id": "abc123"
}
404 if pk isn’t a template owned by this account.
Related
- Retrieve a user design template — view before updating.
- Create a user design template — the field reference and
resource_type/categoryrule this update reuses. - Delete a user design template — remove it entirely.
- Management API overview — the auth scheme and quota rules that apply to this endpoint.
Authorizations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Path Parameters
Response
Template updated.
Was this page helpful?