hosting

POST /v1/transfers/{transferId}/decline

Decline an incoming site transfer.

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

প্রমাণীকরণ

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

এই এন্ডপয়েন্টটি কোনো অর্গানাইজেশন আইডি নেয় না। আপনার কীটি ইতিমধ্যে এটি যে অর্গানাইজেশনের অন্তর্গত তা শনাক্ত করে এবং প্রতিক্রিয়াটি সেই অনুযায়ী নির্ধারিত হয়।

চেষ্টা করুন

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

curl -X POST https://api.zinndigital.com/v1/transfers/{transferId}/decline \
  -H "Authorization: Bearer zdk_live_…"

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

বিবরণ

Refuses the offer. Nothing moves and the sender keeps the site. The row is kept rather than deleted, so both parties can see what happened. `409` when the offer was already decided. Requires `sites.view` **and** `sites.transfer`.

পরামিতি

নামধরনআবশ্যকএটি কী
transferId (path)Uuidহ্যাঁSite transfer offer ID (UUIDv7).

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

নামধরনআবশ্যকএটি কী
idUuidহ্যাঁUUIDv7 identifier — sortable by creation time (docs/02 §8).
site_idUuidহ্যাঁUUIDv7 identifier — sortable by creation time (docs/02 §8).
site_namestringনাThe site's name as it was when the offer was made. Snapshotted onto the offer, not read live: while a transfer is pending the site still belongs to the sender, and reading it li…
primary_domainstringনাThe site's domain as it was when the offer was made. Snapshotted, as above.
directionstring<incoming, outgoing>হ্যাঁFrom **this caller's** point of view. Computed per request, never stored — the same row is outgoing to one party and incoming to the other.
statusstring<pending, accepted, declined, cancelled, expired, failed>হ্যাঁFive terminal states rather than one, because *why* an offer ended is what support is actually asked. `failed` means it was accepted and could not complete; nothing moved.
include_domainbooleanহ্যাঁWhether the domain, its DNS and its mail travel with the site.
recipient_emailstringনাOnly populated for the **sender**. To the receiver it is their own address and carries no information; to anyone else it would be a third party's email address in a row two orga…
messagestringনা
expires_atstringহ্যাঁAn unaccepted offer expires fourteen days after it is made.
term_ends_atstringনা
renewal_amount_minorintegerনা
renewal_currencystringনা
created_atstringহ্যাঁ
decided_atstringনা
failure_reasonstringনাWhy a `failed` transfer could not complete. Empty otherwise.

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

401 · 403 · 404 · 409 · 429