Skip to main content
DELETE
Disconnects a custom domain from the account, on api.scanova.io, authenticated with your raw API key.
Requires the CUSTOM_DOMAIN_CAN_DELETE permission.
integer
required
The domain’s id.
A successful call returns 204 No Content.

QR Codes must be unlinked first

If the domain is still linked to any QR Code — including trashed ones — this returns 400 with {"error": ["This domain is linked to QR Code(s)... Delete permanently the QR Code(s) first..."]} instead of removing it. Permanently delete (not just trash) the linked QR Codes before retrying. 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: YOUR_API_KEY. 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 removed.