Skip to main content
DELETE
Desconecta un dominio personalizado de la cuenta, en el host de la API de gestión (api.scanova.io), autenticado con su clave de API de gestión sin procesar.
Requiere el permiso CUSTOM_DOMAIN_CAN_DELETE.
integer
requerido
El id del dominio.
Una llamada exitosa devuelve 204 No Content.

Los códigos QR deben desvincularse primero

Si el dominio todavía está vinculado a algún código QR — incluidos los que están en la papelera —, esto devuelve 400 con {"error": ["This domain is linked to QR Code(s)... Delete permanently the QR Code(s) first..."]} en lugar de eliminarlo. Elimine permanentemente (no solo a la papelera) los códigos QR vinculados antes de volver a intentarlo. 404 si pk no es un dominio propiedad de esta cuenta.

Relacionado

Autorizaciones

Authorization
string
header
requerido

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.

Parámetros de ruta

pk
integer
requerido

Respuesta

Domain removed.