Skip to main content
PATCH
Updates a custom domain’s configuration, on the Management API host (api.scanova.io), authenticated with your raw Management API key.
integer
required
The domain’s id.
boolean
Whether new QR Codes use this domain by default.
string
What to do when someone visits the bare domain (no QR slug): no_action (default), url_redirect, or custom_page.
string
The URL to send visitors to when root_action is url_redirect.
integer
A CustomDomainTemplate id to serve as the root page when root_action is custom_page — see List custom domain root-page templates.
string
none, http, or https. Blank defaults to https.
boolean
Strips the ?qr=1 tracking parameter from short-link URLs when set.

Most fields are read-only here

Only is_default, root_action, redirect, template, protocol, and remove_qr_query can be written through this endpoint — every other field, including domain itself, is read-only once the domain is created. 404 if pk isn’t a domain owned by this account.

Authorizations

Authorization
string
header
required

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

pk
integer
required

Response

Domain updated.