hosting
POST /v1/sites/{siteId}/transfer
Offer this site to another organization.
ದೃಢೀಕರಣ
ಬೇರರ್ ಟೋಕನ್ ಆಗಿ API ಕೀಯನ್ನು ಕಳುಹಿಸಿ. ಕೀಯು sites.view ಅನುಮತಿಯನ್ನು ಹೊಂದಿರಬೇಕು; ಅದನ್ನು ಹೊಂದಿರದ ಕೀಯನ್ನು 404 ಬದಲಿಗೆ 403 ನೊಂದಿಗೆ ತಿರಸ್ಕರಿಸಲಾಗುತ್ತದೆ.
ಈ ಎಂಡ್ಪಾಯಿಂಟ್ ಯಾವುದೇ ಸಂಸ್ಥೆಯ ಐಡಿಯನ್ನು ತೆಗೆದುಕೊಳ್ಳುವುದಿಲ್ಲ. ನಿಮ್ಮ ಕೀ ಯು ಈಗಾಗಲೇ ಅದು ಸೇರಿರುವ ಸಂಸ್ಥೆಯನ್ನು ಗುರುತಿಸುತ್ತದೆ ಮತ್ತು ಪ್ರತಿಕ್ರಿಯೆಯನ್ನು ಅದಕ್ಕೆ ಸೀಮಿತಗೊಳಿಸಲಾಗಿದೆ.
ಪ್ರಯತ್ನಿಸಿ
ಕೋನೀಯ ಬ್ರಾಕೆಟ್ಗಳಲ್ಲಿರುವ ಯಾವುದೇ ಅಂಶವನ್ನು ನಿಮ್ಮ ಸ್ವಂತ ಮೌಲ್ಯಗಳೊಂದಿಗೆ ಮತ್ತು ಕೀ ಪ್ಲೇಸ್ಹೋಲ್ಡರ್ ಅನ್ನು ನಿಮ್ಮ ಡ್ಯಾಶ್ಬೋರ್ಡ್ನಲ್ಲಿರುವ ಕೀಯೊಂದಿಗೆ ಬದಲಾಯಿಸಿ.
curl -X POST https://api.zinndigital.com/v1/sites/{siteId}/transfer \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "target_org_id": <Uuid>, "recipient_email": <string> }'ಸೈನ್ ಇನ್ ಆಗಿದ್ದೀರಾ? ನಿಮ್ಮ ಡ್ಯಾಶ್ಬೋರ್ಡ್ನಲ್ಲಿರುವ API ಕನ್ಸೋಲ್ ನಿಮ್ಮ ನೈಜ ಸಂಸ್ಥೆಯ ID ಮತ್ತು ನಿಮ್ಮ ಸ್ವಂತ ಕೀಲಿಯನ್ನು ಭರ್ತಿ ಮಾಡುತ್ತದೆ, ಮತ್ತು ಲೈವ್ API ವಿರುದ್ಧ ವಿನಂತಿಯನ್ನು ರನ್ ಮಾಡುತ್ತದೆ ಆದ್ದರಿಂದ ನೀವು ನಿಜವಾದ ಪ್ರತಿಕ್ರಿಯೆಯನ್ನು ನೋಡಬಹುದು. API ಕನ್ಸೋಲ್ನಲ್ಲಿ ಈ ಎಂಡ್ಪಾಯಿಂಟ್ ತೆರೆಯಿರಿ
ವಿವರಗಳು
Creates a transfer offer the receiving organization must accept. Nothing moves until they do — consent is two-sided in both directions, push and pull alike (owner ruling 2026-08-14). What the receiver inherits. The remaining paid term travels with the site: the subscription moves as-is, same period end, same locked price, same currency, so the receiver has the paid period free and is billed normally at renewal. No money moves, no credit note, no VAT event. Renewal is in the subscription's currency, not the receiver's. include_domain decides whether the domain registration, its DNS zone and records, and its mail travel too. Default true. With false the site moves alone and the receiver points a domain of their own at it — the sender keeps a renewable asset, and the receiver's site is not hostage to DNS somebody else controls. 409 when this site already has an offer waiting for a reply. 422 when the guard refuses: unpaid invoices, failed payments, active dunning, unbilled page-view or bandwidth overage, an unpaid wholesale statement, a plan shared with other sites, a staff-granted plan, a busy or non-active site, a running migration or import, a scheduled deletion, or a DNS zone the receiving account already holds. Both organizations are checked, and both are checked again at accept time — an offer may stand for fourteen days, and an account that was clear when it was made can be in arrears when it is accepted. Requires sites.view and sites.transfer.
ಪ್ಯಾರಾಮೀಟರ್ಗಳು
| ಹೆಸರು | ಪ್ರಕಾರ | ಅಗತ್ಯವಿದೆ | ಏನಿದು |
|---|---|---|---|
siteId (path) | Uuid | ಹೌದು | Site ID (UUIDv7). |
ಅನ್ವಯದ ದೇಹ
| ಹೆಸರು | ಪ್ರಕಾರ | ಅಗತ್ಯವಿದೆ | ಏನಿದು |
|---|---|---|---|
target_org_id | Uuid | ಹೌದು | The receiving organization's id, which its owner gives to the sender. ⛔ An organization id rather than an email address, and that is a privacy decision. Resolving a recipient… |
include_domain | boolean | ಇಲ್ಲ | Whether the domain registration, its DNS zone and records, and its mail travel with the site. false moves the site alone and the receiver points a domain of their own at it. |
recipient_email | string | ಹೌದು | Where to notify the recipient, and the record of who the sender meant to send it to. Not how the receiving organization is resolved — that is target_org_id. |
message | string | ಇಲ್ಲ | A note shown to the receiver. Never interpreted. |
ಪ್ರತಿಕ್ರಿಯೆ
| ಹೆಸರು | ಪ್ರಕಾರ | ಅಗತ್ಯವಿದೆ | ಏನಿದು |
|---|---|---|---|
id | Uuid | ಹೌದು | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
site_id | Uuid | ಹೌದು | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
site_name | string | ಇಲ್ಲ | 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_domain | string | ಇಲ್ಲ | The site's domain as it was when the offer was made. Snapshotted, as above. |
direction | string<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. |
status | string<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_domain | boolean | ಹೌದು | Whether the domain, its DNS and its mail travel with the site. |
recipient_email | string | ಇಲ್ಲ | 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… |
message | string | ಇಲ್ಲ | — |
expires_at | string | ಹೌದು | An unaccepted offer expires fourteen days after it is made. |
term_ends_at | string | ಇಲ್ಲ | — |
renewal_amount_minor | integer | ಇಲ್ಲ | — |
renewal_currency | string | ಇಲ್ಲ | — |
created_at | string | ಹೌದು | — |
decided_at | string | ಇಲ್ಲ | — |
failure_reason | string | ಇಲ್ಲ | Why a failed transfer could not complete. Empty otherwise. |
ಈ ಎಂಡ್ಪಾಯಿಂಟ್ ಹಿಂತಿರುಗಿಸಬಹುದಾದ ದೋಷಗಳು
401 · 403 · 404 · 409 · 422 · 429