reseller

PUT /v1/reseller/edge-policy/clients/{orgId}

Turn networks on and off for one client.

সমস্ত reseller এন্ডপয়েন্ট

প্রমাণীকরণ

একটি বিয়ারার টোকেন হিসেবে একটি এপিআই কি পাঠান। কি-টির অবশ্যই reseller.manage অনুমতি থাকতে হবে; এটি ছাড়া কোনো কি ৪০৪ নয়, বরং ৪০৩ ত্রুটি দিয়ে প্রত্যাখ্যাত হবে।

যেখানে আপনার অর্গানাইজেশন আইডি দেওয়া হবে

এই এন্ডপয়েন্টটি URL-এর মধ্যেই আপনার অর্গানাইজেশন আইডি নেয়, orgId হিসেবে। এটিকে পাথ-এ প্রতিস্থাপন করুন — এর পরিবর্তে কাজ করবে এমন কোনো হেডার বা কোয়েরি প্যারামিটার নেই।

আপনার ড্যাশবোর্ডের API কি স্ক্রিনে, কি-এর ঠিক পাশেই আপনার অর্গানাইজেশন আইডি রয়েছে। আপনি যে কলই করুন না কেন, সবগুলিতেই এই আইডি একই থাকে।

চেষ্টা করুন

কোণ বন্ধনীতে থাকা যেকোনো কিছু আপনার নিজস্ব মান দিয়ে এবং কী প্লেসহোল্ডারটি আপনার ড্যাশবোর্ডের একটি কী দিয়ে প্রতিস্থাপন করুন।

curl -X PUT https://api.zinndigital.com/v1/reseller/edge-policy/clients/{orgId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "disabled": <ResellerEdgeVendorRef[]> }'

লগ ইন করা আছে? আপনার ড্যাশবোর্ডের এপিআই কনসোল আপনার আসল অর্গানাইজেশন আইডি এবং আপনার নিজের কি পূরণ করে দেয়, এবং লাইভ এপিআই-এর বিপরীতে অনুরোধটি চালায় যাতে আপনি প্রকৃত প্রতিক্রিয়া দেখতে পান। এই এন্ডপয়েন্টটি এপিআই কনসোলে খুলুন

বিবরণ

Per-client control inside what you already offer. This can only narrow **further**: a network you have turned off for everybody stays off for this client whatever you send here. Unlike your own policy, turning off every network for one client is allowed — that client simply creates no new sites — and their running sites are untouched. An org id that is not one of your clients is a 404. Requires `reseller.manage`.

পরামিতি

নামধরনআবশ্যকএটি কী
orgId (path)Uuidহ্যাঁThe client organization. Must be one of your own clients.

অনুরোধের বডি

নামধরনআবশ্যকএটি কী
disabledResellerEdgeVendorRef[]হ্যাঁThe **complete** set of networks to turn off. Anything absent is turned on, so send the full state rather than a change — two screens open at once cannot then leave a switch beh…

প্রতিক্রিয়া

নামধরনআবশ্যকএটি কী
dataResellerEdgeVendor[]হ্যাঁEvery CDN and DNS network your clients could be placed on, in category then alphabetical order. The list reflects **your** pool: your own connected accounts if you have any, oth…

এই এন্ডপয়েন্ট থেকে যেসব ত্রুটি আসতে পারে

401 · 403 · 404 · 422 · 429