hosting

DELETE /v1/sites/{siteId}/transfer

Withdraw this site's pending transfer offer.

सर्व hosting एंडपॉइंट्स

सर्व डेव्हलपर कागदपत्रे

प्रमाणीकरण

बेरर टोकन म्हणून API की पाठवा. की मध्ये sites.view परवानगी असणे आवश्यक आहे; ती नसलेली की 404 ऐवजी 403 सह नाकारली जाते.

या एंडपॉइंटला कोणतीही संस्था आयडी (organisation id) लागत नाही. तुमची की (key) आधीच ती कोणत्या संस्थेशी संबंधित आहे हे ओळखते आणि प्रतिसाद त्यानुसार मर्यादित केला जातो.

प्रयत्न करा

कोनसांस्कृतिक कंसात (<>) असलेली कोणतीही गोष्ट तुमच्या स्वतःच्या मूल्यांनी बदला आणि key प्लेसहोल्डरला तुमच्या डॅशबोर्डवरील किने बदला.

curl -X DELETE https://api.zinndigital.com/v1/sites/{siteId}/transfer \
  -H "Authorization: Bearer zdk_live_…"

साइन इन केलेले आहे? तुमच्या डॅशबोर्डमधील API कन्सोल तुमची खरी संस्था आयडी आणि तुमची स्वतःची की आपोआप भरतो आणि लाइव्ह API विरुद्ध विनंती कार्यान्वित करतो जेणेकरून तुम्हाला वास्तविक प्रतिसाद पाहता येईल. एपी कन्सोलमध्ये हा एंडपॉइंट उघडा

तपशील

The sender takes the offer back. Takes no body and returns the offer, which will read cancelled. ⛔ DELETE on the offer, not POST …/cancel — the resource being removed is the pending offer, and giving the undo its own noun means no request body can turn a withdrawal into something else by being slightly wrong. 404 when there is no pending offer. Requires sites.view and sites.transfer.

पॅरामीटर्स

नावप्रकारआवश्यकहे काय आहे
siteId (path)UuidहोयSite 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 live…
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…
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