reseller

POST /v1/reseller/services/{siteId}/unsuspend

Release a non-payment hold you placed.

Усі кінцеві точки reseller

Автентифікація

Надішліть ключ API як маркер носія (bearer token). Ключ повинен мати дозвіл reseller.provision; ключ без нього відхиляється з кодом 403, а не 404.

Де вказується ідентифікатор вашої організації

Цей ендпоїнт приймає org_id як параметр запиту. Залиште його порожнім, і виклик охопить увесь ваше дерево орендарів; надішліть його, щоб звузити виклик до однієї організації.

Ідентифікатор вашої організації знаходиться на екрані API-ключів у вашій панелі керування, поруч із самим ключем. Це той самий ідентифікатор у кожному вашому запиті.

Спробувати

Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.

curl -X POST https://api.zinndigital.com/v1/reseller/services/{siteId}/unsuspend \
  -H "Authorization: Bearer zdk_live_…"

Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API

Деталі

Brings a site you suspended back into service. Refused with a `409` for a site this surface did not suspend — releasing a malware or abuse hold from a billing panel would hand out hosting the abuse desk had deliberately taken offline. Requires `reseller.provision`.

Параметри

НазваТипОбов'язковеЩо це таке
siteId (path)UuidТакSite ID (UUIDv7).
org_id (query)UuidНіWhich of your organizations this applies to. Required only when you belong to more than one here — otherwise it is inferred, and an id outside your direct memberships is a 404 r…

Відповідь

НазваТипОбов'язковеЩо це таке
site_idUuidТакUUIDv7 identifier — sortable by creation time (docs/02 §8).
client_org_idUuidТакUUIDv7 identifier — sortable by creation time (docs/02 §8).
client_org_namestringТак
primary_domainstringТак
namestringНі
statusSiteStatusТакA site's lifecycle state (docs/04 §3). A newly created site is `pending` until the provisioning workflow picks it up; `deleted` is terminal. `restricted` and `quarantined` are t…
product_lineobjectНі
plan_codeobjectНі
plan_nameobjectНі
held_by_resellerbooleanНіTrue when the current suspension was placed through this surface, which is the only case `unsuspendResellerService` will release. A site suspended by the abuse desk reports fals…
pending_deletion_atobjectНіWhen a scheduled deletion falls due, or null.
sell_amount_minorobjectНіWhat YOU charge for this plan, in minor units of `sell_currency` — your own price-list row if you have authored one, otherwise our list price with your default markup applied. N…
sell_currencyobjectНі
created_atstringТак

Помилки, які може повертати ця кінцева точка

401 · 403 · 404 · 409 · 429