links
DELETE /v1/content/external-sites/{siteId}
Remove a connected site we do not host.
Autentifikacija
Pošaljite API ključ kao bearer token. Ova krajnja točka ne navodi određenu dozvolu u specifikaciji, stoga dajte svom ključu najmanje što mu je potrebno i provjerite odgovor umjesto da pretpostavljate.
Ova krajnja točka ne prihvaća ID organizacije. Vaš ključ već identificira organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamijenite sve unutar šiljastih zagrada svojim vlastitim vrijednostima, a rezervirano mjesto za ključ s ključem iz vaše nadzorne ploče.
curl -X DELETE https://api.zinndigital.com/v1/content/external-sites/{siteId} \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj nadzornoj ploči automatski unosi stvarni ID vaše organizacije i vaš vlastiti ključ te šalje zahtjev prema aktivnom API-ju kako biste mogli vidjeti stvarni odgovor. Otvori ovu krajnju točku u API konzoli
Pojedinosti
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.
Parametri
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
siteId (path) | string | Da | — |
Odgovor
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
site_id | string | Da | — |
primary_domain | string | Da | — |
charges_stopped | integer | Da | Monthly add-on charges for this site that were stopped. |
backups_kept_until | string | Da | When the newest archive we hold for the site is deleted by retention; null if none. |
Pogreške koje ova krajnja točka može vratiti
401 · 403 · 404