links
DELETE /v1/content/external-sites/{siteId}
Remove a connected site we do not host.
Doğrulama
API açarını bearer token kimi göndərin. Bu səhifə spresifikasiyada xüsusi icazə tələb etmir, buna görə də açarınıza ehtiyac duyduğu minimum səviyyədə icazə verin və güman etmək əvəzinə cavabı yoxlayın.
Bu endpoint heç bir təşkilat ID-si tələb etmir. Sizin açarınız artıq aid olduğu təşkilatı müəyyən edir və cavab həmin təşkilat üçün məhdudlaşdırılır.
Sınaqdan keçir
Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.
curl -X DELETE https://api.zinndigital.com/v1/content/external-sites/{siteId} \
-H "Authorization: Bearer zdk_live_…"Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın
Təfərrüatlar
Forgets the site: its publishing credential and any backup credential are deleted from our secret store, the site leaves every list, and no lost-connection notice is sent for it again — including by a check already in flight. Monthly add-ons bought for the site stop billing. Backups of it we already hold stay downloadable until 30 days after they were taken and are then deleted; copies in the customer's own offsite storage are left there. Nothing on the site itself is changed. Gated on links.edit.
Parametrlər
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
siteId (path) | string | Bəli | — |
Cavab
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
site_id | string | Bəli | — |
primary_domain | string | Bəli | — |
charges_stopped | integer | Bəli | Monthly add-on charges for this site that were stopped. |
backups_kept_until | string | Bəli | When the newest archive we hold for the site is deleted by retention; null if none. |
Bu son nöqtənin qaytara biləcəyi xətalar
401 · 403 · 404