reseller
POST /v1/reseller/services/{siteId}/unsuspend
Release a non-payment hold you placed.
Նույնականացում
Ուղարկեք API բանալին որպես bearer token: Բանալին պետք է ունենա reseller.provision թույլտվությունը. առանց դրա բանալին մերժվում է 403, և ոչ թե 404 կարգավիճակով:
Որտեղ տեղադրվում է ձեր կազմակերպության ID-ն
Այs վերջնակետը ընդունում է org_id-ը որպես հարցման պարամետր: Բաց թողեք այն, և կանչը կընդգրկի ձեր ամբողջ վարձակալության ենթածառը. ուղարկեք այն՝ կանչը մեկ կազմակերպության վրա սահմանափակելու համար:
Ձեր կազմակերպության ID-ն գտնվում է Ձեր ղեկավարման վահանակի API բանալիների էկրանին՝ բուն բանալու կողքին: Այն նույն ID-ն է Ձեր կատարած յուրաքանչյուր հարցման մեջ:
Փորձել
Փոխարինեք անկյունային փակագծերում գտնվող ցանկացած բան ձեր սեփական արժեքներով, և բանալու տեղապահը՝ ձեր վահանակի բանալիով:
curl -X POST https://api.zinndigital.com/v1/reseller/services/{siteId}/unsuspend \
-H "Authorization: Bearer zdk_live_…"Մուտք գործե՞լ եք: Ձեր վահանակի API վահանակը լրացնում է ձեր իրական կազմակերպության ID-ն և ձեր սեփական բանալին և գործարկում է հարցումը ուղիղ 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_id | Uuid | Այո | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
client_org_id | Uuid | Այո | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
client_org_name | string | Այո | — |
primary_domain | string | Այո | — |
name | string | Ոչ | — |
status | SiteStatus | Այո | 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_line | object | Ոչ | — |
plan_code | object | Ոչ | — |
plan_name | object | Ոչ | — |
held_by_reseller | boolean | Ոչ | 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_at | object | Ոչ | When a scheduled deletion falls due, or null. |
sell_amount_minor | object | Ոչ | 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_currency | object | Ոչ | — |
created_at | string | Այո | — |
Այս վերջնակետի կողմից վերադարձվող սխալները
401 · 403 · 404 · 409 · 429