hosting

POST /v1/transfers/{transferId}/decline

Decline an incoming site transfer.

બધા hosting એન્ડપૉઇન્ટ્સ

બધા ડેવલપર દસ્તાવેજો

પ્રમાણીકરણ

એપીઆઈ કી (API key) ને બેરર ટોકન તરીકે મોકલો. કી પાસે sites.view પરવાનગી હોવી આવશ્યક છે; તેના વગરની કીને 404 ને બદલે 403 સાથે અસ્વીકાર કરવામાં આવશે.

આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.

આયમાવો

કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.

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

साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ API સામે વિનંતી ચલાવે છે જેથી તમે વાસ્તવિક પ્રતિસાદ જોઈ શકો. આ અંતિમબિંદુને API કન્સોલમાં ખોલો

વિગતો

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 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