Skip to main content
PATCH
يحدّث قالب تصميم QR مملوكًا لهذا الحساب، على مضيف Management API (‏api.scanova.io‏)، مع المصادقة باستخدام مفتاح Management API الخام الخاص بك.
integer
مطلوب
معرّف id الخاص بالقالب.
يدعم كلًا من PUT (استبدال كامل) وPATCH (تحديث جزئي)، ويقبل كلاهما نفس حقول name/pattern_info/image الموثّقة في إنشاء قالب تصميم رمز QR.

لا يمكن تغيير template_type هنا

يُحدَّد template_type عند الإنشاء فقط — إرساله ضمن نص طلب PUT/PATCH يُتجاهل بصمت بدلًا من إحداث خطأ، لذا يحتفظ القالب بنوعه الأصلي (ملصق/عادي) طوال دورة حياته. يُعاد 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
مطلوب

الاستجابة

Template updated.