Skip to main content
DELETE
يفصل نطاقًا مخصصًا عن الحساب، على مضيف Management API (‏api.scanova.io‏)، مع المصادقة باستخدام مفتاح Management API الخام الخاص بك.
يتطلب صلاحية CUSTOM_DOMAIN_CAN_DELETE.
integer
مطلوب
معرّف id الخاص بالنطاق.
عملية ناجحة تعيد 204 No Content.

يجب فك ارتباط رموز QR أولًا

إذا كان النطاق لا يزال مرتبطًا بأي رمز QR — بما في ذلك ما هو في سلة المحذوفات — فإن هذا الاستدعاء يعيد 400 مع {"error": ["This domain is linked to QR Code(s)... Delete permanently the QR Code(s) first..."]} بدلًا من إزالته. احذف رموز QR المرتبطة نهائيًا (وليس فقط إلى سلة المحذوفات) قبل إعادة المحاولة. يُعاد 404 إذا لم يكن pk نطاقًا مملوكًا لهذا الحساب.

ذات صلة

التفويضات

Authorization
string
header
مطلوب

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.

معلمات المسار

pk
integer
مطلوب

الاستجابة

Domain removed.